Re: -finstrument-functions and program startup
Re: -finstrument-functions and program startup
- Subject: Re: -finstrument-functions and program startup
- From: Benjamin Stiglitz <email@hidden>
- Date: Thu, 29 Jan 2009 14:25:55 -0500
- Mail-followup-to: email@hidden
> I don't believe an Apple provider exist (or can exist) for general
> probing of C++ or C function entry and exit. You will have to
> instrument C++ methods and C function (aka make your own provider) to
> be able to use DTrace for what I think you are attempting to do.
Actually, a probe of 'pidnnn:::entry' works just great (where nnn is the
target process’ pid.)
Check out the pid provider documentation:
<http://docs.sun.com/app/docs/doc/817-6223/chp-pid?q=dtrace+pid&a=view>
-Ben
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden