[OE-core] Profiling binaries?

Phil Blundell philb at gnu.org
Mon Oct 22 13:49:51 UTC 2012


On Mon, 2012-10-22 at 14:40 +0100, Richard Purdie wrote:
> On Mon, 2012-10-22 at 14:58 +0200, Steffen Sledz wrote:
> > Just a short question: Does oe[-core] provide a generic method to
> > create packages containing binaries/libraries with profiling support?
> 
> Have a look at the section "Optimization flags" in bitbake.conf. You
> should be able to add the -pg flag to
> FULL_OPTIMIZATION/DEBUG_OPTIMIZATION and get what you're looking for.

I think you need a bit of special handling around eglibc as well.  But
otherwise yes, I've done basically this in the past and it seems to work
fine.

p.






More information about the Openembedded-core mailing list