Re: cleaner/better zlib sources?
- From
- Josef Weidendorfer <josef.weidendorfer@gmx.de>
- Date
- Mar 16, 2007, 22:45 UTC
- Message-ID
- <200703162345.42784.Josef.Weidendorfer@gmx.de>
- In-Reply-To
- <Pine.LNX.4.64.0703160841360.3816@woody.linux-foundation.org>
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