• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DTrace Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: DTrace Questions
      • From: Eric Gorr <email@hidden>
    • Re: DTrace Questions
      • From: Eric Gorr <email@hidden>
References: 
 >DTrace Questions (From: Eric Gorr <email@hidden>)
 >Re: DTrace Questions (From: Jonas Maebe <email@hidden>)

  • Prev by Date: Re: DTrace Questions
  • Next by Date: Snapshots too slow to be usable?
  • Previous by thread: Re: DTrace Questions
  • Next by thread: Re: DTrace Questions
  • Index(es):
    • Date
    • Thread