patch applied (ghc-6.12/ghc): MERGED: Tweak the tracing flags slightly, and clean up error handling and diagnostics

Ian Lynagh igloo at earth.li
Thu Mar 4 11:00:12 EST 2010


Thu Mar  4 07:17:10 PST 2010  Ian Lynagh <igloo at earth.li>
  * MERGED: Tweak the tracing flags slightly, and clean up error handling and diagnostics
  The parts of that patch which removed code related to the "steps" GC
  feature were not merged.
  
  Simon Marlow <marlowsd at gmail.com>**20100226110608
   Ignore-this: c227b6b8d65c06f299c5588c84e0eef9
  
   Tracing flags are now:
  
      -l[flags]  Log events in binary format to the file <program>.eventlog
      -v[flags]  Log events to stderr
                 where [flags] can contain:
                    s    scheduler events
                    t    add time stamps (only useful with -v)
  
   and there are more helpful error messages when using flags that are
   only available in particular variants of the RTS:
  
    the flag -v requires the program to be built with -debug
    the flag -Ds requires the program to be built with -debug
    the flag -p requires the program to be built with -prof
    the flag -N requires the program to be built with -threaded
    the flag -v requires the program to be built with -debug
  
   Also, I fixed the crash reported in #3874, with +RTS -ls -v.

    M ./rts/RtsFlags.c -56 +69

View patch online:
http://darcs.haskell.org/ghc-6.12/ghc/_darcs/patches/20100304151710-3fd76-da7cd605bd36d2e05e2d112da31bc0bd299adfd4.gz



More information about the Cvs-ghc mailing list