Re: [PATCH] Let gcore use ptrace interface rather than the procfs

From: Robert N. M. Watson <rwatson_at_FreeBSD.org>
Date: Tue, 17 Nov 2009 16:30:24 +0000
On 17 Nov 2009, at 14:17, Ed Maste wrote:

> Our original motivation for doing this was to make gcore work with
> threaded apps, not avoiding procfs, but that's a useful side-effect of
> the work.  Note though that for that purpose it isn't complete; procfs
> is still used in readmap to read the process' memory map.  It looks like
> we need to find a way to implement readmap without procfs.

Are the sysctls used for procstat -v sufficient for this purpose?

Robert
Received on Tue Nov 17 2009 - 15:30:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC