diff options
author | Mikolaj <mikolaj.konarski@gmail.com> | 2012-03-09 20:51:30 +0100 |
---|---|---|
committer | Duncan Coutts <duncan@well-typed.com> | 2012-04-04 19:10:45 +0100 |
commit | c294d95dc04950ab4c5380bf6ce8651f621f8591 (patch) | |
tree | f7af5643c634205fa9fc390c0dd4db7558b7f7e2 /rts/RtsProbes.d | |
parent | 598109eb0cc2271c33e23b4ddb12123991273f61 (diff) | |
download | haskell-c294d95dc04950ab4c5380bf6ce8651f621f8591.tar.gz |
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.
Diffstat (limited to 'rts/RtsProbes.d')
-rw-r--r-- | rts/RtsProbes.d | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/RtsProbes.d b/rts/RtsProbes.d index 8d24f3a9ca..f5470dfe0b 100644 --- a/rts/RtsProbes.d +++ b/rts/RtsProbes.d @@ -55,6 +55,7 @@ provider HaskellEvent { probe gc__idle (EventCapNo); probe gc__work (EventCapNo); probe gc__done (EventCapNo); + probe gc__sync (EventCapNo); probe gc__stats (CapsetID, StgWord, StgWord, StgWord, StgWord, StgWord, StgWord, StgWord); probe heap__info (CapsetID, StgWord, StgWord, StgWord, StgWord, StgWord); probe heap__allocated (EventCapNo, CapsetID, StgWord64); |