Profiling postgres - Mailing list pgsql-general

From Suresh
Subject Profiling postgres
Date
Msg-id 811840.48974.qm@web54505.mail.re2.yahoo.com
Whole thread Raw
In response to Re: Writing a user defined function  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: Profiling postgres
List pgsql-general

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



pgsql-general by date:

Previous
From: "Andrej Ricnik-Bay"
Date:
Subject: Re: Problems Restarting PostgreSQL Daemon
Next
From: Rich Shepard
Date:
Subject: Re: Problems Restarting PostgreSQL Daemon