diff options
author | Duncan Coutts <duncan@well-typed.com> | 2012-02-03 13:52:06 +0000 |
---|---|---|
committer | Duncan Coutts <duncan@well-typed.com> | 2012-04-04 19:10:45 +0100 |
commit | a3cdefd21b3e818accf9db22da72b216685c1b19 (patch) | |
tree | 2c4c242df2a89319986b60f3b23eb240503e5ece /rts/eventlog | |
parent | 65aaa9b2715c5245838123f3a0fa5d92e0a66bce (diff) | |
download | haskell-a3cdefd21b3e818accf9db22da72b216685c1b19.tar.gz |
Adjust the eventlog description header for the spark counter event
The EventLogFormat.h described the spark counter fields in a different
order to that which ghc emits (the GC'd and fizzled fields were
reversed). At this stage it is easier to fix the ghc-events lib and
to have ghc continue to emit them in the current order.
Diffstat (limited to 'rts/eventlog')
-rw-r--r-- | rts/eventlog/EventLog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c index a43ebf789a..8e7cf3784d 100644 --- a/rts/eventlog/EventLog.c +++ b/rts/eventlog/EventLog.c @@ -619,6 +619,7 @@ postSparkCountersEvent (Capability *cap, } postEventHeader(eb, EVENT_SPARK_COUNTERS); + /* EVENT_SPARK_COUNTERS (crt,dud,ovf,cnv,gcd,fiz,rem) */ postWord64(eb,counters.created); postWord64(eb,counters.dud); postWord64(eb,counters.overflowed); |