Add eventlog event for thread labels
authorDuncan Coutts <duncan@well-typed.com>
Wed, 2 Nov 2011 12:02:09 +0000 (12:02 +0000)
committerDuncan Coutts <duncan@well-typed.com>
Fri, 4 Nov 2011 14:13:10 +0000 (14:13 +0000)
commitc739d845f9b3fc67ee20aa3de7e876cb1327bb1a
treec3139330cdaa227854aa5fda007dd37e213d9295
parentd416d943ef59bafa0add5685ee0687f25db2d276
Add eventlog event for thread labels

The existing GHC.Conc.labelThread will now also emit the the thread
label into the eventlog. Profiling tools like ThreadScope could then
use the thread labels rather than thread numbers.
includes/rts/EventLogFormat.h
rts/PrimOps.cmm
rts/RtsProbes.d
rts/ThreadLabels.c
rts/ThreadLabels.h
rts/Trace.c
rts/Trace.h
rts/eventlog/EventLog.c
rts/eventlog/EventLog.h