Commit 0e51109d authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

rts: drop unused 'traceEventThreadRunnable'

Not used since:

    commit f361281c


    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: default avatarSergei Trofimovich <siarheit@google.com>
parent e1ca5838
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment