summaryrefslogtreecommitdiff
path: root/doc/ekg.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-12-24 14:48:51 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-12-24 15:01:55 -0400
commit42e08cd4575d3dc558dfe172c1f28c752d69e8c6 (patch)
tree78a8eddc31c390aaf8f66435bb13db9366f9a7c4 /doc/ekg.mdwn
parent34f375526f44ff255d45bbabcd1425b3d5d0bb4a (diff)
parent3b9d9a267b7c9247d36d9b622e1b836724ca5fb0 (diff)
Merge branch 'master' into no-xmpp
Diffstat (limited to 'doc/ekg.mdwn')
-rw-r--r--doc/ekg.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ekg.mdwn b/doc/ekg.mdwn
index 508fd2e92..26d0128a6 100644
--- a/doc/ekg.mdwn
+++ b/doc/ekg.mdwn
@@ -20,11 +20,11 @@ git-annex will continue to work.
For the really tricky memory leaks, here's how to make a profiling build of
git-annex.
-1. `cabal configure` with only the flags you really need
-2. `cabal build --ghc-options="-prof -auto-all -caf-all"`
+1. `cabal configure --enable-profiling`
This will probably fail due to some missing profiling libraries.
You have to get the profiling versions of all needed haskell libraries
installed somehow.
+2. `cabal build`
3. Run git-annex with the special flags `+RTS -hc -p`
4. Reproduce the memory leak problem.
5. If the assistant was run, stop it.