summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2019-05-29 16:56:08 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2019-05-30 10:17:14 +0100
commitdb3639399db743eff1c2bde57d9219a77aa0f59a (patch)
treed44b8ffeec5bbcd3ec3271e0e124da7f8214220d /includes
parent2d2aa2031b9abc3bff7b5585ab4201948c8bba7d (diff)
downloadhaskell-wip/eventlog-heap-prof-end.tar.gz
Add HEAP_PROF_SAMPLE_END event to mark end of sampleswip/eventlog-heap-prof-end
This allows a user to observe how long a sampling period lasts so that the time taken can be removed from the profiling output. Fixes #16697
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/EventLogFormat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/rts/EventLogFormat.h b/includes/rts/EventLogFormat.h
index 63303c93b7..462e036d90 100644
--- a/includes/rts/EventLogFormat.h
+++ b/includes/rts/EventLogFormat.h
@@ -178,6 +178,7 @@
#define EVENT_HEAP_PROF_SAMPLE_BEGIN 162
#define EVENT_HEAP_PROF_SAMPLE_COST_CENTRE 163
#define EVENT_HEAP_PROF_SAMPLE_STRING 164
+#define EVENT_HEAP_PROF_SAMPLE_END 165
#define EVENT_USER_BINARY_MSG 181