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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Cc: Neil Conway <neilc(at)samurai(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>, korryd(at)enterprisedb(dot)com, Bruce Momjian <bruce(at)momjian(dot)us>
Subject: Re: [pgsql-patches] Patch to avoid gprof profilingoverwrites
Date: 2007-02-01 08:12:54
Message-ID: 200702010912.55347.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message korryd 2007-02-01 14:19:53 Re: [pgsql-patches] Patch to avoid gprofprofilingoverwrites
Previous Message Neil Conway 2007-02-01 06:40:40 Re: [pgsql-patches] Patch to avoid gprof profilingoverwrites