Process Debugging questions

Robert Watson rwatson at FreeBSD.org
Tue Nov 21 14:22:24 UTC 2006


On Tue, 21 Nov 2006, Alexander Leidinger wrote:

> Quoting Robert Watson <rwatson at FreeBSD.org> (from Tue, 21 Nov 2006 11:55:37 
> +0000 (GMT)):
>
>> Anyone who wants to start looking at a new API should make sure they look 
>> at ptrace() and procfs across a range of platforms, and also look at Mach 
>> task ports and what they offer.  One of the things we really can't do well 
>> with ptrace() today is inspect kernel state for a running process -- things 
>> like the VM layout, etc.  We should make sure any next generation system 
>> allows this, because that feature alone is the reason why I sometimes mount 
>> procfs. :-)
>
> Can you please elaborate what features you have in mind which DTrace isn't 
> able to deliver?

/proc/curproc/map

Robert N M Watson
Computer Laboratory
University of Cambridge


More information about the freebsd-hackers mailing list