diff options
Diffstat (limited to 'rts/eventlog/EventLog.c')
-rw-r--r-- | rts/eventlog/EventLog.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c index 6c7d1e836c..8aeea789e6 100644 --- a/rts/eventlog/EventLog.c +++ b/rts/eventlog/EventLog.c @@ -1524,6 +1524,10 @@ static void postTickyCounterSample(EventsBuf *eb, StgEntCounter *p) postWord64(eb, p->entry_count); postWord64(eb, p->allocs); postWord64(eb, p->allocd); + + p->entry_count = 0; + p->allocs = 0; + p->allocd = 0; } void postTickyCounterSamples(StgEntCounter *counters) |