[ovs-dev] -fomit-frame-pointer in OVS

Ben Pfaff blp at ovn.org
Wed Mar 8 18:25:23 UTC 2017


On Mon, Feb 27, 2017 at 08:32:20PM +0500, Valentine Sinitsyn wrote:
> Currently, OVS seems to disable frame pointer (-fomit-frame-pointer) in
> non-debug builds.
> 
> While I do know this is a common optimization, it makes run-time profiling
> substantially less straightforward. So I wonder, if there are any benchmarks
> showing the effect of omitting frame pointer, especially on x86-64?

OVS only adds -fomit-frame-pointer if you configure it with
--enable-ndebug.  I don't encourage anyone to do that.  I don't think
distributions configure with --enable-ndebug.


More information about the dev mailing list