On Tue, Oct 19, 2010 at 8:42 AM, Tom Hawkins <tomahawkins@gmail.com> wrote:

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.

That's expected and normal. You either have to manually add SCC annotations to code, or if you want the usual automated ones, add the following to your .cabal file:

ghc-prof-options: -auto-all