
19 Oct
2010
19 Oct
'10
3:51 p.m.
2010/10/19 Tom Hawkins
How do I profile cabal libraries?
I "cabal install -p" a local package I am testing, and I compile a test of the library using "-prof -auto-all". But the profiling report only lists a CAF entry for the library, but does not detail any of the library's top level functions.
What am I doing wrong?
Maybe use -auto-all for compiling the library itself too? Cheers, Thu