Revision c96887cf doc/devnotes.rst
b/doc/devnotes.rst | ||
---|---|---|
130 | 130 |
|
131 | 131 |
$ make HEXTRA="-ddump-splices" |
132 | 132 |
|
133 |
Or, more interactively:: |
|
134 |
|
|
135 |
$ ghci |
|
136 |
λ> :set -ddump-splices |
|
137 |
λ> :l htools/Ganeti/Objects.hs |
|
138 |
|
|
139 |
And you will get the spliced code as the module is loaded. |
|
140 |
|
|
133 | 141 |
To build profiling code you must install the ``ghc-prof`` (or |
134 | 142 |
``gch6-prof``) package, and all the relevant libraries with their |
135 | 143 |
``-prof`` counterparts. If installing libraries through cabal the config |
Also available in: Unified diff