diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-08-29 09:47:27 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-08-29 09:47:27 +0000 |
commit | a5288c551349a0adab0d931a429b10a096d9444d (patch) | |
tree | 245dd2dfd2b4e23f3fc8ae474b709289b60e5f15 /rts/Printer.h | |
parent | c51229b2bfd3b1a61d3966db894210ef848f0a6d (diff) | |
download | haskell-a5288c551349a0adab0d931a429b10a096d9444d.tar.gz |
Unify event logging and debug tracing.
- tracing facilities are now enabled with -DTRACING, and -DDEBUG
additionally enables debug-tracing. -DEVENTLOG has been
removed.
- -debug now implies -eventlog
- events can be printed to stderr instead of being sent to the
binary .eventlog file by adding +RTS -v (which is implied by the
+RTS -Dx options).
- -Dx debug messages can be sent to the binary .eventlog file
by adding +RTS -l. This should help debugging by reducing
the impact of debug tracing on execution time.
- Various debug messages that duplicated the information in events
have been removed.
Diffstat (limited to 'rts/Printer.h')
-rw-r--r-- | rts/Printer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/Printer.h b/rts/Printer.h index 33fe6a8316..fd89aa073a 100644 --- a/rts/Printer.h +++ b/rts/Printer.h @@ -30,6 +30,8 @@ extern void printTSO ( StgTSO *tso ); extern void DEBUG_LoadSymbols( char *name ); extern const char *lookupGHCName( void *addr ); + +extern char *what_next_strs[]; #endif #pragma GCC visibility pop |