summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/users_guide/profiling.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/profiling.rst b/docs/users_guide/profiling.rst
index 87509d6331..495d2b8db0 100644
--- a/docs/users_guide/profiling.rst
+++ b/docs/users_guide/profiling.rst
@@ -441,14 +441,14 @@ compiled program.
.. ghc-flag:: -fprof-late-ccs
:shortdesc: Auto-add ``SCC``\\ s to all top level bindings *after* the optimizer has run.
:type: dynamic
- :reverse: -fno-prof-auto
+ :reverse: -fno-prof-late-ccs
:category:
Adds an automatic ``SCC`` annotation to all top level bindings late in the core pipeline after
the optimizer has run. This means these cost centres will not interfere with core-level optimizations
and the resulting profile will be closer to the performance profile of an optimized non-profiled
executable.
- While the results of this are generally very good some of the compiler internal names
+ While the results of this are generally very informative some of the compiler internal names
will leak into the profile.
.. ghc-flag:: -fprof-cafs