Changes between Version 8 and Version 9 of DTrace


Ignore:
Timestamp:
Dec 12, 2009 12:31:20 PM (6 years ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DTrace

    v8 v9  
    88
    99DTrace and the associated D programming language are described in detail in the [http://wikis.sun.com/display/DTrace/Documentation Solaris Dynamic Tracing Guide].  The Mac OS X specific GUI frontend, Instruments, is explained in the [http://developer.apple.com/mac/library/DOCUMENTATION/DeveloperTools/Conceptual/InstrumentsUserGuide/Introduction/Introduction.html Instruments User Guide] and the Mac version of the command line tool `dtrace` is documented by the [http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/dtrace.1.html Mac OS X dtrace man page].
     10
     11== Using DTrace with GHC ==
     12
     13To make effective use of DTrace probes, we need D scripts and custom instruments for Instruments app.  Until then, the available probes can be queried as follows:
     14 0. Start `ghci` in a terminal
     15 1. Invoke the following command at another command line prompt: `sudo dtrace -P 'HaskellEvent*' -l`
     16To trace a Haskell program:
     17 0. Execute `sudo dtrace -P 'HaskellEvent*' -Z` on the command line
     18 1. Then, invoke your Haskell program (the terminal running `dtrace` will dump the trace)
    1019
    1120== Probe description ==