Expose all EventLog events as DTrace probes
- 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
Showing
- configure.ac 10 additions, 0 deletionsconfigure.ac
- includes/rts/EventLogFormat.h 2 additions, 1 deletionincludes/rts/EventLogFormat.h
- mk/config.mk.in 3 additions, 0 deletionsmk/config.mk.in
- rts/Capability.c 5 additions, 6 deletionsrts/Capability.c
- rts/PrimOps.cmm 15 additions, 0 deletionsrts/PrimOps.cmm
- rts/RtsProbes.d 62 additions, 0 deletionsrts/RtsProbes.d
- rts/RtsStartup.c 3 additions, 0 deletionsrts/RtsStartup.c
- rts/Schedule.c 11 additions, 11 deletionsrts/Schedule.c
- rts/Schedule.h 1 addition, 1 deletionrts/Schedule.h
- rts/Sparks.c 1 addition, 1 deletionrts/Sparks.c
- rts/Threads.c 2 additions, 2 deletionsrts/Threads.c
- rts/Trace.c 16 additions, 2 deletionsrts/Trace.c
- rts/Trace.h 236 additions, 1 deletionrts/Trace.h
- rts/eventlog/EventLog.c 0 additions, 1 deletionrts/eventlog/EventLog.c
- rts/ghc.mk 26 additions, 1 deletionrts/ghc.mk
- rts/sm/GC.c 3 additions, 3 deletionsrts/sm/GC.c
Loading
Please register or sign in to comment