On Friday 16 March 2007, Linus Torvalds wrote:
(Btw, to get this level of detail, you need to link statically, at least
if you are using Fedora Core. If you do the normal dynamic linking,
oprofile will not be able to show you which function, and will just say
that 50% of all time was spent in libz.so.1.2.3).
I see the same here on OpenSuse 10.2.
This is because opreport currently does not take symbols from the dynamic
symbol table into account. Patching the symbol loader (I just send a
patch to the oprofile mailing list), I get the same detail with dynamic
linking.
Josef