Changes between Version 9 and Version 10 of DTrace


Ignore:
Timestamp:
Dec 12, 2009 12:41:30 PM (4 years ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DTrace

    v9 v10  
    1717 0. Execute `sudo dtrace -P 'HaskellEvent*' -Z` on the command line 
    1818 1. Then, invoke your Haskell program (the terminal running `dtrace` will dump the trace) 
     19If you only want to be notified of the start and end of garbage collections, invoke dtrace as follows:  
     20{{{ 
     21sudo dtrace -n 'HaskellEvent*:::gc-start' -n 'HaskellEvent*:::gc-end' -Z 
     22}}} 
     23Further details on the available probes are below. 
     24 
     25'''IMPORTANT:''' Do not use `dtrace` with the `-c` option to start and trace a Haskell program in a single invocation.  On Mac OS X, this doesn't seem to work for reasons that I don't understand.  (To be precise, it does seem to work for other programs, but probes in the Haskell runtime appear not to be detected.) 
    1926 
    2027== Probe description ==