The recompile was done by the sysadmin, but I believe the flags are -pg
-DLINUX_PROFILING for profiling, and -g for debug symbols.
This leaves gmon.out files around, which you can then do a "gprof
/usr/bin/postmaster gmon.out" to see whats going on.
My problem is that this gives me data on what
"Mohan, Ross" <[EMAIL PROTECTED]> writes:
> Is compiling postmaster with profiling support just a flag
> in the build/make? Or is there something more involved?
cd .../src/backend
make PROFILE="-pg -DLINUX_PROFILE" all
reinstall binary
You don't need -DLINUX_PROFILE if not on Linux, of course.