Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2006 15:47:14 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        trowa-4 <trowa-4@yahoo.com.tw>, Dag-Erling =?utf-8?b?U23Dg8K4cmdyYXY=?= <des@des.no>, Jeremie Le Hen <jeremie@le-hen.org>, freebsd-hackers@FreeBSD.org
Subject:   Re: Process Debugging questions
Message-ID:  <20061121154714.03vzlj72sss88k4c@webmail.leidinger.net>
In-Reply-To: <20061121142005.T63599@fledge.watson.org>
References:  <571883.4868.qm@web72011.mail.tp2.yahoo.com> <86irhlfvg2.fsf@dwp.des.no> <20061120221026.GC20405@obiwan.tataz.chchile.org> <86d57hjhwu.fsf@dwp.des.no> <20061121115333.N50450@fledge.watson.org> <20061121150941.wlwmfw8u0w0c444k@webmail.leidinger.net> <20061121142005.T63599@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Robert Watson <rwatson@FreeBSD.org> (from Tue, 21 Nov 2006 =20
14:21:59 +0000 (GMT)):

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

With DTrace we have access to a lot of stuff. I think this is only a =20
case of writting the right dtrace script (intercepting =20
malloc/free/sbrk/mmap/... should allow for more sophisticated output).

Bye,
Alexander.

--=20
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137



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