diff options
author | Duncan Coutts <duncan@well-typed.com> | 2011-07-14 17:31:16 +0100 |
---|---|---|
committer | Duncan Coutts <duncan@well-typed.com> | 2011-07-18 16:31:18 +0100 |
commit | 46b70749971341678c3e4d5cdb2b1ab1a13d039e (patch) | |
tree | c409612c7868e165fa559fcd27cfecfb30ddd994 /includes | |
parent | 02871adf5f27de9e8748c0a24d086f5be5827203 (diff) | |
download | haskell-46b70749971341678c3e4d5cdb2b1ab1a13d039e.tar.gz |
Move GC tracing into a separate trace class
Previously GC was included in the scheduler trace class. It can be
enabled specifically with +RTS -vg or -lg, though note that both -v
and -l on their own now default to a sensible set of trace classes,
currently: scheduler, gc and sparks.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/Flags.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h index 63dc72e8f8..475f4d3fd7 100644 --- a/includes/rts/Flags.h +++ b/includes/rts/Flags.h @@ -128,6 +128,7 @@ struct TRACE_FLAGS { int tracing; rtsBool timestamp; /* show timestamp in stderr output */ rtsBool scheduler; /* trace scheduler events */ + rtsBool gc; /* trace GC events */ rtsBool sparks; /* trace spark events */ }; |