Move user's guide to ReStructuredText
[ghc.git] / utils / mkUserGuidePart / Options / Profiling.hs
1 module Options.Profiling where
2
3 import Types
4
5 profilingOptions :: [Flag]
6 profilingOptions =
7 [ flag { flagName = "-prof"
8 , flagDescription = "Turn on profiling"
9 , flagType = DynamicFlag
10 }
11 , flag { flagName = "-fprof-auto"
12 , flagDescription =
13 "Auto-add ``SCC``\\ s to all bindings not marked INLINE"
14 , flagType = DynamicFlag
15 , flagReverse = "-fno-prof-auto"
16 }
17 , flag { flagName = "-fprof-auto-top"
18 , flagDescription =
19 "Auto-add ``SCC``\\ s to all top-level bindings not marked INLINE"
20 , flagType = DynamicFlag
21 , flagReverse = "-fno-prof-auto"
22 }
23 , flag { flagName = "-fprof-auto-exported"
24 , flagDescription =
25 "Auto-add ``SCC``\\ s to all exported bindings not marked INLINE"
26 , flagType = DynamicFlag
27 , flagReverse = "-fno-prof-auto"
28 }
29 , flag { flagName = "-fprof-cafs"
30 , flagDescription = "Auto-add ``SCC``\\ s to all CAFs"
31 , flagType = DynamicFlag
32 , flagReverse = "-fno-prof-cafs"
33 }
34 , flag { flagName = "-fno-prof-count-entries"
35 , flagDescription = "Do not collect entry counts"
36 , flagType = DynamicFlag
37 , flagReverse = "-fprof-count-entries"
38 }
39 , flag { flagName = "-ticky"
40 , flagDescription =
41 ":ref:`Turn on ticky-ticky profiling <ticky-ticky>`"
42 , flagType = DynamicFlag
43 }
44 ]