Re: DTrace Questions
Re: DTrace Questions
- Subject: Re: DTrace Questions
- From: Franklin Marmon <email@hidden>
- Date: Thu, 6 May 2010 15:50:13 -0600
This may not be what you are looking for, but it prints entry points for all my application's functions.
sudo dtrace -n 'pid[MYPID]:[APPNAME]::entry { printf( "%s", execname ) }'
replacing [MYPID] and [APPNAME] as appropriate for your target application. Obviously the same thing is possible for return functions too.
Franklin Marmon
email@hidden
GTalk: email@hidden
On May 6, 2010, at 3:43 PM, Jonas Maebe wrote:
>
> On 06 May 2010, at 22:31, Eric Gorr wrote:
>
>> (2) I know that, for example, iTunes is hidden from DTrace. I was just wondering if anyone knew how to do that for one's own applications...?
>
> Search the web for pt_deny_attach (and note that it's both undocumented functionality and trivial to work around once you know about it).
>
>
> Jonas _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden