diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/EventLogFormat.h | 6 | ||||
-rw-r--r-- | includes/stg/MiscClosures.h | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/includes/rts/EventLogFormat.h b/includes/rts/EventLogFormat.h index 82d3f683cc..e08a44996f 100644 --- a/includes/rts/EventLogFormat.h +++ b/includes/rts/EventLogFormat.h @@ -161,8 +161,8 @@ #define EVENT_TASK_CREATE 55 /* (taskID, cap, tid) */ #define EVENT_TASK_MIGRATE 56 /* (taskID, cap, new_cap) */ #define EVENT_TASK_DELETE 57 /* (taskID) */ - -/* Range 58 - 59 is available for new GHC and common events. */ +#define EVENT_USER_MARKER 58 /* (marker_name) */ +/* Range 59 - 59 is available for new GHC and common events. */ /* Range 60 - 80 is used by eden for parallel tracing * see http://www.mathematik.uni-marburg.de/~eden/ @@ -177,7 +177,7 @@ * ranges higher than this are reserved but not currently emitted by ghc. * This must match the size of the EventDesc[] array in EventLog.c */ -#define NUM_GHC_EVENT_TAGS 58 +#define NUM_GHC_EVENT_TAGS 59 #if 0 /* DEPRECATED EVENTS: */ /* we don't actually need to record the thread, it's implicit */ diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h index b7b24a8632..760a59da49 100644 --- a/includes/stg/MiscClosures.h +++ b/includes/stg/MiscClosures.h @@ -431,6 +431,7 @@ RTS_FUN_DECL(stg_noDuplicatezh); RTS_FUN_DECL(stg_traceCcszh); RTS_FUN_DECL(stg_traceEventzh); +RTS_FUN_DECL(stg_traceMarkerzh); /* Other misc stuff */ // See wiki:Commentary/Compiler/Backends/PprC#Prototypes |