Changes between Version 2 and Version 3 of Debugging/TickyTicky
- Timestamp:
- 10/28/09 09:06:23 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Debugging/TickyTicky
v2 v3 7 7 * 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. 8 8 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.] 10 10 11 11 * Add `+RTS -rfoo.ticky` to the run-time command line, to put the ticky-ticky profile in the file `foo.ticky`. … … 25 25 # Currently ticky is incompatible with threading 26 26 GhcThreaded = NO 27 28 # When linking stage2 you need -ticky, else you get unresolved symols29 GhcStage2HcOpts += -ticky30 31 # Ditto Haddock32 utils/haddock_dist_EXTRA_HC_OPTS += -ticky33 27 }}} 34 But see #3439, which would allow you to drop the last two.
