Changes between Version 2 and Version 3 of Debugging/TickyTicky


Ignore:
Timestamp:
Oct 28, 2009 4:06:23 PM (4 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Debugging/TickyTicky

    v2 v3  
    77 * Add the `-ticky` flag when compiling a Haskell module to enable "ticky-ticky" profiling of that module.  This makes GHC emit performance-counting instructions in every STG function.   
    88 
    9  * Add `-debug` to the command line when linking, so that you link against a version of the runtime system that allows you to display the results.  [Adding `-ticky` should work too, but it doesn't yet.] 
     9 * Add `-debug` to the command line when linking, so that you link against a version of the runtime system that allows you to display the results.  [Adding `-ticky` should work too, but it doesn't yet; see #3439.] 
    1010 
    1111 * Add `+RTS -rfoo.ticky` to the run-time command line, to put the ticky-ticky profile in the file `foo.ticky`. 
     
    2525# Currently ticky is incompatible with threading 
    2626GhcThreaded = NO 
    27  
    28 # When linking stage2 you need -ticky, else you get unresolved symols 
    29 GhcStage2HcOpts += -ticky 
    30  
    31 # Ditto Haddock 
    32 utils/haddock_dist_EXTRA_HC_OPTS += -ticky 
    3327}}} 
    34 But see #3439, which would allow you to drop the last two.