projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
catch SIGTSTP and save/restore terminal settings (#4460)
[ghc-hetmet.git]
/
rts
/
Trace.h
diff --git
a/rts/Trace.h
b/rts/Trace.h
index
4f3ebce
..
27de60e
100644
(file)
--- a/
rts/Trace.h
+++ b/
rts/Trace.h
@@
-27,6
+27,7
@@
void initTracing (void);
void endTracing (void);
void freeTracing (void);
void initTracing (void);
void endTracing (void);
void freeTracing (void);
+void resetTracing (void);
#endif /* TRACING */
#endif /* TRACING */
@@
-264,7
+265,7
@@
void dtraceUserMsgWrapper(Capability *cap, char *msg);
INLINE_HEADER void traceEventCreateThread(Capability *cap STG_UNUSED,
StgTSO *tso STG_UNUSED)
{
INLINE_HEADER void traceEventCreateThread(Capability *cap STG_UNUSED,
StgTSO *tso STG_UNUSED)
{
- traceSchedEvent(cap, EVENT_CREATE_THREAD, tso, tso->stack_size);
+ traceSchedEvent(cap, EVENT_CREATE_THREAD, tso, tso->stackobj->stack_size);
dtraceCreateThread((EventCapNo)cap->no, (EventThreadID)tso->id);
}
dtraceCreateThread((EventCapNo)cap->no, (EventThreadID)tso->id);
}