Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Developer Tools > Adding DTrace Probes to User Code (Part 3)

Adding DTrace Probes to User Code (Part 3)

Darryl Gove, March 25, 2008

In Adding DTrace Probes to User Code (Part 2), I discussed how to add DTrace USDT probes into user code. The critical step is to run the object files through DTrace, and for DTrace to record the instrumentation points and to modify the object files prior to linking. The output of this step is an object file that also needs to be linked into the executable. Here's an example:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint