Compile with -fno-omit-frame-pointer on x86_64?

John Reiser jreiser at
Wed Nov 3 21:12:05 UTC 2010

On 11/03/2010 01:51 PM, Owen Taylor wrote:
> [ But yes, 4% is a big hit. 1% I would accept without hesitation.
>   4% does make me hesitate a little bit. During devel cycles, we
>   accept much more slowdown than that for the debug kernel, 
>   of course. If we can figure out profiling without frame
>   pointers, that would be even better ]

Would you accept an overhead of 1 CPU cycle per subroutine call
(all the time in *ALL* code) plus a few dozen cycles per
subroutine call (perhaps restricted to some subset of routines)
in the pieces that were being profiled at the moment?


More information about the devel mailing list