diff options
author | Simon Marlow <simonmarhaskell@gmail.com> | 2008-04-16 21:35:04 +0000 |
---|---|---|
committer | Simon Marlow <simonmarhaskell@gmail.com> | 2008-04-16 21:35:04 +0000 |
commit | f732e7862bb1fcc65fcfbcfb6eaaf6dde39fdd5f (patch) | |
tree | e66fdce1149ac0b6f91d126d13dc45b51f0de7b9 /rts/Trace.c | |
parent | 2aa877f8588da099351ef51efca3605fd87ea768 (diff) | |
download | haskell-f732e7862bb1fcc65fcfbcfb6eaaf6dde39fdd5f.tar.gz |
Add +RTS -vg flag for requesting some GC trace messages, outside DEBUG
DEBUG imposes a significant performance hit in the GC, yet we often
want some of the debugging output, so -vg gives us the cheap trace
messages without the sanity checking of DEBUG, just like -vs for the
scheduler.
Diffstat (limited to 'rts/Trace.c')
-rw-r--r-- | rts/Trace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/Trace.c b/rts/Trace.c index 0b30e92819..06de1c49de 100644 --- a/rts/Trace.c +++ b/rts/Trace.c @@ -108,6 +108,7 @@ void initTracing (void) GRAN_FLAG(blockedOnFetch_sanity, GRAN_DEBUG_BOF_sanity); TRACE_FLAG(sched, TRACE_sched); + TRACE_FLAG(gc, TRACE_gc); } static void tracePreface (void) |