[oe] profiling howto?

Steffen Sledz sledz at dresearch.de
Thu Feb 3 13:06:20 UTC 2011


Am 03.02.2011 13:14, schrieb Holger Freyther:
> On 02/03/2011 01:07 PM, Steffen Sledz wrote:
> 
>> But i've no idea what the real problem is. It looks like it's not related to the ".init_array" but to the missing `mcount' symbol.
> 
> This symbol access get added by gcc due the -pg option. Now the question is
> who should provide this symbol? I would assume it is glibc (actually grepping
> glibc source tree shows it is in gmon/mcount.c).
> 
> I am not sure why you want to use gprof but anyway...
> 
> a) do not use gprof on glibc...

I'm not interested in using gprof on glibc. I'm interested in profiling some other libs/apps only.

But the suggested method to prepare just some packages for profiling does not work jet (see other subthread).

So i tried the suggested method from local.conf.sample with the mentioned result. :(

> b) change the tests to have a mcount symbol...

Sorry, but i did not have time and knowledge to do this.

Steffen

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz at DResearch.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058





More information about the Openembedded-devel mailing list