Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/084b64f22717b203b8d8c2ab7c057fb747e39593 >--------------------------------------------------------------- commit 084b64f22717b203b8d8c2ab7c057fb747e39593 Author: Duncan Coutts <[email protected]> Date: Thu Jul 14 19:06:45 2011 +0100 Add new fully-accurate per-spark trace/eventlog events Replaces the existing EVENT_RUN/STEAL_SPARK events with 7 new events covering all stages of the spark lifcycle: create, dud, overflow, run, steal, fizzle, gc The sampled spark events are still available. There are now two event classes for sparks, the sampled and the fully accurate. They can be enabled/disabled independently. By default +RTS -l includes the sampled but not full detail spark events. Use +RTS -lf-p to enable the detailed 'f' and disable the sampled 'p' spark. Includes work by Mikolaj <[email protected]> includes/rts/EventLogFormat.h | 17 ++++- includes/rts/Flags.h | 3 +- rts/Capability.c | 7 +- rts/RtsFlags.c | 29 ++++++---- rts/RtsProbes.d | 10 +++- rts/Sparks.c | 11 +++- rts/Trace.c | 86 ++++++++++++++++++++++----- rts/Trace.h | 128 +++++++++++++++++++++++++++++------------ rts/eventlog/EventLog.c | 70 ++++++++++++++++++++-- rts/eventlog/EventLog.h | 5 ++ 10 files changed, 283 insertions(+), 83 deletions(-) Diff suppressed because of size. To see it, use: git show 084b64f22717b203b8d8c2ab7c057fb747e39593 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
