On Thu, Jan 29, 2009 at 11:25 AM, Benjamin Stiglitz <s...@apple.com> wrote: >> 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>
Only for code that has such probes compiled into functions / methods. Apple has these compiled into many of the system frameworks but it doesn't add them to your own code ...which was my point. -Shawn _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com