[commit: ghc] master: Annotate thread stop events with the owner of the black hole (784e214)
Simon Marlow
marlowsd at gmail.com
Wed Feb 2 16:59:18 CET 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/784e214dd44eba39f4c34936a27e6cc82948205c
>---------------------------------------------------------------
commit 784e214dd44eba39f4c34936a27e6cc82948205c
Author: Simon Marlow <marlowsd at gmail.com>
Date: Thu Jan 27 16:42:26 2011 +0000
Annotate thread stop events with the owner of the black hole
So we can now get these in ThreadScope:
19487000: cap 1: stopping thread 6 (blocked on black hole owned by thread 4)
Note: needs an update to ghc-events. Older ThreadScopes will just
ignore the new information.
includes/rts/EventLogFormat.h | 13 +++++++++++-
rts/Messages.c | 43 +++++++++++++++++++++++++++++++++++++++++
rts/Messages.h | 1 +
rts/RtsProbes.d | 2 +-
rts/Schedule.c | 14 +++++++++++-
rts/Trace.c | 43 ++++++++++++++++++++++++++++------------
rts/Trace.h | 23 ++++++++++++++-------
rts/eventlog/EventLog.c | 12 ++++++----
rts/eventlog/EventLog.h | 5 ++-
9 files changed, 124 insertions(+), 32 deletions(-)
Diff suppressed because of size. To see it, use:
git show 784e214dd44eba39f4c34936a27e6cc82948205c
More information about the Cvs-ghc
mailing list