[Pkg-postgresql-public] Bug#730134: Bug#730134: Compile with	-fno-omit-frame-pointer to enable generation of hierarchical	profiles
    Andres Freund 
    andres at anarazel.de
       
    Thu Dec  5 19:46:43 UTC 2013
    
    
  
On 2013-11-22 23:27:00 +0100, Christoph Berg wrote:
> Re: Andres Freund 2013-11-21 <20131121210757.GD27838 at alap2.anarazel.de>
> > On x86-64, which is not as register starved as x86, the performance
> > impact is close to unnoticeable, at least for postgres.
> > 
> > So I suggest compiling postgres with -fno-omit-frame-pointer on x86-64,
> > but not on other platforms.
> 
> Would that cause an ABI change that would require recompiling all
> extension modules we ship? If so, that'd be a major pita. If not, I'd
> be in favor of the idea.
No, it doesn't require that. Not having them recompiled will leave them
without support, but that just causes slightly less precise profiles if
they take up significant cpu time (or cause it).
Thanks,
Andres Freund
-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services
    
    
More information about the Pkg-postgresql-public
mailing list