summaryrefslogtreecommitdiff
path: root/rts/Trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Trace.c')
-rw-r--r--rts/Trace.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/rts/Trace.c b/rts/Trace.c
index 4475054509..e345377eef 100644
--- a/rts/Trace.c
+++ b/rts/Trace.c
@@ -623,6 +623,13 @@ void traceHeapProfSampleBegin(StgInt era)
}
}
+void traceHeapProfSampleEnd(StgInt era)
+{
+ if (eventlog_enabled) {
+ postHeapProfSampleEnd(era);
+ }
+}
+
void traceHeapProfSampleString(StgWord8 profile_id,
const char *label, StgWord residency)
{