• chak@cse.unsw.edu.au.'s avatar
    Expose all EventLog events as DTrace probes · 015d3d46
    chak@cse.unsw.edu.au. authored
    - Defines a DTrace provider, called 'HaskellEvent', that provides a probe
      for every event of the eventlog framework.
    - In contrast to the original eventlog, the DTrace probes are available in
      all flavours of the runtime system (DTrace probes have virtually no
      overhead if not enabled); when -DTRACING is defined both the regular
      event log as well as DTrace probes can be used.
    - Currently, Mac OS X only.  User-space DTrace probes are implemented
      differently on Mac OS X than in the original DTrace implementation.
      Nevertheless, it shouldn't be too hard to enable these probes on other
      platforms, too.
    - Documentation is at http://hackage.haskell.org/trac/ghc/wiki/DTrace
    015d3d46
EventLogFormat.h 5.37 KB