summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-12-08 16:55:40 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-12-08 16:55:40 -0400
commitc2cf325da3a208cdbc0fba463ab97b1d9e5384c7 (patch)
treea05119369a9d2393bdfa6e1f7c1facdf3c4bd4b4
parent6a3131228c81824a82514aa9c6e21cd4f83ce696 (diff)
update instructions to work better
-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.