Add flag -fprof-manual which controls if GHC should honour manual cost centres.
This allows disabling of manual control centres in code a user doesn't control like libraries. Fixes #18867
Showing
- compiler/GHC/Driver/Flags.hs 1 addition, 0 deletionscompiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Session.hs 2 additions, 0 deletionscompiler/GHC/Driver/Session.hs
- compiler/GHC/HsToCore/Expr.hs 1 addition, 1 deletioncompiler/GHC/HsToCore/Expr.hs
- docs/users_guide/profiling.rst 11 additions, 0 deletionsdocs/users_guide/profiling.rst
- testsuite/tests/profiling/should_run/all.T 4 additions, 0 deletionstestsuite/tests/profiling/should_run/all.T
- testsuite/tests/profiling/should_run/ignore_scc.hs 8 additions, 0 deletionstestsuite/tests/profiling/should_run/ignore_scc.hs
- testsuite/tests/profiling/should_run/ignore_scc.prof.sample 33 additions, 0 deletionstestsuite/tests/profiling/should_run/ignore_scc.prof.sample
- testsuite/tests/profiling/should_run/ignore_scc.stdout 1 addition, 0 deletionstestsuite/tests/profiling/should_run/ignore_scc.stdout
Loading
Please register or sign in to comment