Date: Tue, 17 Nov 2009 16:30:24 +0000 From: "Robert N. M. Watson" <rwatson@FreeBSD.org> To: Ed Maste <emaste@freebsd.org> Cc: Attilio Rao <attilio@freebsd.org>, freebsd-current@freebsd.org Subject: Re: [PATCH] Let gcore use ptrace interface rather than the procfs Message-ID: <9C740225-CB30-4D26-8E4B-F9D5DC51B899@FreeBSD.org> In-Reply-To: <20091117141713.GA51251@sandvine.com> References: <3bbf2fe10911160718j7784b311g2980aa02c79bc9ec@mail.gmail.com> <alpine.BSF.2.00.0911171120050.47035@fledge.watson.org> <20091117141713.GA51251@sandvine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9C740225-CB30-4D26-8E4B-F9D5DC51B899>