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

From: Attilio Rao <attilio_at_freebsd.org>
Date: Mon, 16 Nov 2009 16:18:25 +0100
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
Received on Mon Nov 16 2009 - 14:18:27 UTC

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