git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: cleaner/better zlib sources?

From
JWJosef 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
Previous: linux@horizon.com
Message 6 of 6 in “Re: cleaner/better zlib sources?”
  1. linux@horizon.comMar 16, 2007
  2. Florian WeimerMar 16, 2007
  3. Josef WeidendorferMar 16, 2007
  4. Linus TorvaldsMar 16, 2007
  5. linux@horizon.comMar 16, 2007
  6. Josef WeidendorferMar 16, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.