Re: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote" - Mailing list pgsql-performance

From Tom Lane
Subject Re: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"
Date
Msg-id 3261.1112889464@sss.pgh.pa.us
Whole thread Raw
In response to Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"  ("Mohan, Ross" <RMohan@arbinet.com>)
List pgsql-performance
"Mohan, Ross" <RMohan@arbinet.com> 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.

            regards, tom lane

pgsql-performance by date:

Previous
From: Alex Turner
Date:
Subject: Re: How to improve db performance with $7K?
Next
From: Tom Lane
Date:
Subject: Re: Any way to speed this up?