diff options
author | Ben Gamari <ben@smart-cactus.org> | 2015-08-31 22:39:13 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-09-05 10:54:45 +0200 |
commit | 062feee4e7408ad5b9d882e5fed2c700e337db72 (patch) | |
tree | 5a683dc20960e9a245bc52bb38b5afa35d4c1cc1 /rts/Trace.h | |
parent | 96b986b669410cf4b6945d1039f9e16e54f4e53f (diff) | |
download | haskell-062feee4e7408ad5b9d882e5fed2c700e337db72.tar.gz |
tracing: Kill EVENT_STARTUP
This has been unnecessary for quite some time due to the create/delete
capability events.
Diffstat (limited to 'rts/Trace.h')
-rw-r--r-- | rts/Trace.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/rts/Trace.h b/rts/Trace.h index 31aefcb58d..c85167c8a2 100644 --- a/rts/Trace.h +++ b/rts/Trace.h @@ -242,8 +242,6 @@ void traceThreadLabel_(Capability *cap, void traceThreadStatus_ (StgTSO *tso); -void traceEventStartup_ (int n_caps); - /* * Events for describing capabilities and capability sets in the eventlog * @@ -298,7 +296,6 @@ void traceTaskDelete_ (Task *task); #define debugTraceCap(class, cap, str, ...) /* nothing */ #define traceThreadStatus(class, tso) /* nothing */ #define traceThreadLabel_(cap, tso, label) /* nothing */ -INLINE_HEADER void traceEventStartup_ (int n_caps STG_UNUSED) {}; #define traceCapEvent(cap, tag) /* nothing */ #define traceCapsetEvent(tag, capset, info) /* nothing */ #define traceWallClockTime_() /* nothing */ @@ -350,9 +347,6 @@ void dtraceUserMarkerWrapper(Capability *cap, char *msg); HASKELLEVENT_CREATE_SPARK_THREAD(cap, spark_tid) #define dtraceThreadLabel(cap, tso, label) \ HASKELLEVENT_THREAD_LABEL(cap, tso, label) -INLINE_HEADER void dtraceStartup (int num_caps) { - HASKELLEVENT_STARTUP(num_caps); -} #define dtraceCapCreate(cap) \ HASKELLEVENT_CAP_CREATE(cap) #define dtraceCapDelete(cap) \ @@ -442,7 +436,6 @@ INLINE_HEADER void dtraceStartup (int num_caps) { #define dtraceRequestParGc(cap) /* nothing */ #define dtraceCreateSparkThread(cap, spark_tid) /* nothing */ #define dtraceThreadLabel(cap, tso, label) /* nothing */ -INLINE_HEADER void dtraceStartup (int num_caps STG_UNUSED) {}; #define dtraceUserMsg(cap, msg) /* nothing */ #define dtraceUserMarker(cap, msg) /* nothing */ #define dtraceGcIdle(cap) /* nothing */ @@ -710,23 +703,6 @@ INLINE_HEADER void traceEventHeapLive(Capability *cap STG_UNUSED, dtraceEventHeapLive(heap_capset, heap_live); } -/* TODO: at some point we should remove this event, it's covered by - * the cap create/delete events. - */ -INLINE_HEADER void traceEventStartup(void) -{ - int n_caps; -#ifdef THREADED_RTS - // XXX n_capabilities hasn't been initialised yet - n_caps = RtsFlags.ParFlags.nNodes; -#else - n_caps = 1; -#endif - - traceEventStartup_(n_caps); - dtraceStartup(n_caps); -} - INLINE_HEADER void traceCapsetCreate(CapsetID capset STG_UNUSED, CapsetType capset_type STG_UNUSED) { |