Add the GC_GLOBAL_SYNC event marking that all caps are stopped for GC
authorMikolaj <mikolaj.konarski@gmail.com>
Fri, 9 Mar 2012 19:51:30 +0000 (20:51 +0100)
committerDuncan Coutts <duncan@well-typed.com>
Wed, 4 Apr 2012 18:10:45 +0000 (19:10 +0100)
commitc294d95dc04950ab4c5380bf6ce8651f621f8591
treef7af5643c634205fa9fc390c0dd4db7558b7f7e2
parent598109eb0cc2271c33e23b4ddb12123991273f61
Add the GC_GLOBAL_SYNC event marking that all caps are stopped for GC

Quoting design rationale by dcoutts: The event indicates that we're doing
a stop-the-world GC and all other HECs should be between their GC_START
and GC_END events at that moment. We don't want to use GC_STATS_GHC
for that, because GC_STATS_GHC is for extra GHC-specific info,
not something we have to rely on to be able to match the GC pauses
across HECs to a particular global GC.
includes/rts/EventLogFormat.h
rts/RtsProbes.d
rts/Stats.c
rts/Trace.c
rts/Trace.h
rts/eventlog/EventLog.c