From: Josef Weidendorfer Date: Fri, 16 Mar 2007 22:45:42 GMT Subject: Re: cleaner/better zlib sources? Message-ID: <200703162345.42784.Josef.Weidendorfer@gmx.de> In-Reply-To: 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