diff options
author | Sergei Trofimovich <siarheit@google.com> | 2016-02-07 18:16:10 +0000 |
---|---|---|
committer | Sergei Trofimovich <siarheit@google.com> | 2016-02-07 20:28:00 +0000 |
commit | 0e51109d010c474f60f7b3209e399c115c7bcec7 (patch) | |
tree | ce21e3ead51f559ec3b41c61ffc3803bb5070b99 /rts | |
parent | e1ca583855fc26f1e1a3a4e7fd6c54d302b4625c (diff) | |
download | haskell-0e51109d010c474f60f7b3209e399c115c7bcec7.tar.gz |
rts: drop unused 'traceEventThreadRunnable'
Not used since:
commit f361281c89fbce42865d8b8b27b0957205366186
Author: Simon Marlow <marlowsd@gmail.com>
Date: Wed Dec 7 11:32:35 2011 +0000
Do not emit the THREAD_RUNNABLE event; it has no useful semantic content
Noticed by uselex.rb:
traceEventThreadRunnable: [R]: exported from:
./rts/dist/build/Inlines.o
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'rts')
-rw-r--r-- | rts/Trace.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/rts/Trace.h b/rts/Trace.h index 2c11a9fb4d..e0d6f20c45 100644 --- a/rts/Trace.h +++ b/rts/Trace.h @@ -517,17 +517,6 @@ INLINE_HEADER void traceEventStopThread(Capability *cap STG_UNUSED, (EventThreadStatus)status, (EventThreadID)info); } -// needs to be EXTERN_INLINE as it is used in another EXTERN_INLINE function -EXTERN_INLINE void traceEventThreadRunnable(Capability *cap STG_UNUSED, - StgTSO *tso STG_UNUSED); - -EXTERN_INLINE void traceEventThreadRunnable(Capability *cap STG_UNUSED, - StgTSO *tso STG_UNUSED) -{ - traceSchedEvent(cap, EVENT_THREAD_RUNNABLE, tso, 0); - dtraceThreadRunnable((EventCapNo)cap->no, (EventThreadID)tso->id); -} - INLINE_HEADER void traceEventMigrateThread(Capability *cap STG_UNUSED, StgTSO *tso STG_UNUSED, nat new_cap STG_UNUSED) |