• 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: -finstrument-functions and program startup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -finstrument-functions and program startup


  • Subject: Re: -finstrument-functions and program startup
  • From: Shawn Erickson <email@hidden>
  • Date: Thu, 29 Jan 2009 12:03:18 -0800

On Thu, Jan 29, 2009 at 11:25 AM, Benjamin Stiglitz <email@hidden> 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 (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

  • Follow-Ups:
    • Re: -finstrument-functions and program startup
      • From: Benjamin Stiglitz <email@hidden>
References: 
 >-finstrument-functions and program startup (From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)
 >Re: -finstrument-functions and program startup (From: Greg Parker <email@hidden>)
 >RE: -finstrument-functions and program startup (From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>)
 >Re: -finstrument-functions and program startup (From: Shawn Erickson <email@hidden>)
 >Re: -finstrument-functions and program startup (From: Benjamin Stiglitz <email@hidden>)

  • Prev by Date: Re: NSURLConnection & ignoring untrusted server certificates
  • Next by Date: Re: Plain Text UTI Madness
  • Previous by thread: Re: -finstrument-functions and program startup
  • Next by thread: Re: -finstrument-functions and program startup
  • Index(es):
    • Date
    • Thread