Re: [pgsql-patches] Patch to avoid gprof profilingoverwrites - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: [pgsql-patches] Patch to avoid gprof profilingoverwrites
Date
Msg-id 200702010912.55347.peter_e@gmx.net
Whole thread Raw
In response to Re: [pgsql-patches] Patch to avoid gprof profilingoverwrites  (Neil Conway <neilc@samurai.com>)
Responses Re: [pgsql-patches] Patch to avoid gprof profilingoverwrites  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Neil Conway wrote:
> What about a "--enable-gprof" (or "--enable-profiling"?) configure
> flag? This could add the appropriate compiler flags to CFLAGS, enable
> LINUX_PROFILE if on Linux, and enable the "gprof/pid" mkdir().

That would really only work for GCC, wouldn't it?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: [pgsql-patches] Patch to avoid gprof profilingoverwrites
Next
From:
Date:
Subject: Re: [pgsql-patches] Patch to avoid gprofprofilingoverwrites