Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> Argh. I'm getting that state where gprof returns all 0s for times. I'm
> pretty sure this has come up before along with how to get it to work, but
> I couldn't find it in the archives. Someday I'll learn how to use gprof. :(
You're on Linux? You need to compile postmaster.c with -DLINUX_PROFILE.
But the call counts do sound pretty damning.
regards, tom lane