Sunday, July 27, 2008

[GENERAL] Profiling postgres


Hello,

I want to profile some functions in postgres using gprof. I am following this procedure listed in nabble forum.

# cd postgres/bin
#  cd .../src/backend
#  make clean
#  make PROFILE="-pg" all

How to proceed after this ? I am not getting the gmon.out file. How do I run ./postgres test under the profiler ?

thanks and regards,
Suresh



No comments: