Sat Aug 29 02:47:27 PDT 2009 Simon Marlow <[email protected]>
* Unify event logging and debug tracing.
Ignore-this: c137a22fb32a7a5b50fe6906b464344e
- 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.
M ./compiler/main/StaticFlags.hs -2 +2
M ./includes/rts/Config.h +6
M ./includes/rts/EventLogFormat.h -3 +10
M ./includes/rts/Flags.h -9 +7
M ./mk/config.mk.in -58 +1
M ./rts/Capability.c -14 +6
M ./rts/Printer.c +9
M ./rts/Printer.h +2
M ./rts/RaiseAsync.c -6 +1
M ./rts/RtsFlags.c -24 +48
M ./rts/RtsStartup.c -13 +4
M ./rts/Schedule.c -70 +19
M ./rts/Schedule.h -2 +2
M ./rts/Sparks.c -7 +5
M ./rts/Threads.c -8 +4
M ./rts/Trace.c -25 +190
M ./rts/Trace.h -37 +133
M ./rts/eventlog/EventLog.c -67 +143
M ./rts/eventlog/EventLog.h -18 +23
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090829094727-12142-e2f4b2eb2df929775530418657ffee000a867bf8.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc