svn commit: r274489 - in head/sys/amd64: amd64 include

Rui Paulo rpaulo at me.com
Fri Nov 21 06:34:05 UTC 2014


On Nov 13, 2014, at 14:11, Scott Long <scottl at FreeBSD.org> wrote:
> 
> Author: scottl
> Date: Thu Nov 13 22:11:44 2014
> New Revision: 274489
> URL: https://svnweb.freebsd.org/changeset/base/274489
> 
> Log:
>  Extend earlier addition of stack frames to most of support.S.  This makes
>  stack traces in KDB, HWPMC, and DTrace much more reliable and useful.

No performance differences?  The kernel enables/disables the compiler option to omit the frame pointer based on the kernel config file.  If DDB, DTrace, or HWPMC is enabled, the frame pointer is always saved in C functions. 

Some of these functions are in the hot path, so if you didn't see any performance problem, I wonder if we should disable -fomit-frame-pointer always.

--
Rui Paulo





More information about the svn-src-all mailing list