[PATCH] Let gcore use ptrace interface rather than the procfs
    Attilio Rao 
    attilio at freebsd.org
       
    Mon Nov 16 15:18:27 UTC 2009
    
    
  
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
    
    
More information about the freebsd-current
mailing list