Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2009 16:18:25 +0100
From:      Attilio Rao <attilio@freebsd.org>
To:        freebsd-current@freebsd.org, Alexander Kabaev <kan@freebsd.org>,  Alfred Perlstein <alfred@freebsd.org>, Ed Maste <emaste@sandvine.com>
Subject:   [PATCH] Let gcore use ptrace interface rather than the procfs
Message-ID:  <3bbf2fe10911160718j7784b311g2980aa02c79bc9ec@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
This patch allows gcore to use the ptrace interface rather than procfs:
http://www.freebsd.org/~attilio/Sandvine/STABLE_8/gcore/gcore.diff

The main visible effect of that is that gcore can now work on a
per-thread scope, offering a granularity procfs can't reach.
A downside, though, is that the process to be targeted is going to be
stopped with ptrace.
This patch has been contributed back by Sandvine Incorporated.
Comments, reviews and testing are welcome.

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10911160718j7784b311g2980aa02c79bc9ec>