Commit c9d44142 authored by Simon Peyton Jones's avatar Simon Peyton Jones Committed by Ben Gamari

Edit Debugging/TickyTicky

parent 37b670a2
......@@ -5,7 +5,7 @@ Ticky-ticky profiling adds counters to every STG function. It's very low-level,
- 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.
- 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](https://gitlab.haskell.org//ghc/ghc/issues/3439).\]
- Add `-ticky` to the command line when linking, so that you link against a version of the runtime system that allows you to display the results. In fact, in the link phase `-ticky` implies `-debug`, so you get the debug version of the runtime system too.
- Add `+RTS -rfoo.ticky` to the run-time command line, to put the ticky-ticky profile in the file `foo.ticky`.
......
......@@ -6,7 +6,7 @@ Ticky-ticky profiling adds counters to every STG function. It's very low-level,
* 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.
* 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.]
* Add `-ticky` to the command line when linking, so that you link against a version of the runtime system that allows you to display the results. In fact, in the link phase `-ticky` implies `-debug`, so you get the debug version of the runtime system too.
* Add `+RTS -rfoo.ticky` to the run-time command line, to put the ticky-ticky profile in the file `foo.ticky`.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment