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

Re: git blame with valgrind massif

From
Pierre Habouzit <madcoder@debian.org>
Date
Dec 11, 2007, 21:27 UTC
Message-ID
<20071211212743.GD29110@artemis.madism.org>
In-Reply-To
<alpine.LFD.0.9999.0712111315060.25032@woody.linux-foundation.org>
On Tue, Dec 11, 2007 at 09:22:53PM +0000, Linus Torvalds wrote:
Show 16 quoted lines
> 
> 
> On Tue, 11 Dec 2007, Jon Smirl wrote:
> > 
> > How do you interpret the massif output?
> 
> Not very easy, since massif will tell you what *allocated* it, but then 
> trying to see who was supposed to free it is another issue altogether.
> 
> I also find the textual output to be very confusing. But what massif is 
> really good at is to look at the memory usage over time in the postscript 
> file it generates, and that gives you a much better feel for what 
> particular allocation is a problem.
> 
> In this case, it's patch_delta that generates all the memory usage (well, 
> 98% of it ;^), but that's not that helpful unless you know git internals, 
  No 37%, the 98% list is the list of calls that generate 98% of the
total allocations git blame does, and then massif lists each individual
call, and patch_delta generates 37% of the total.
  Though it's meaningless without knowing how much time this memory
stayed allocated>
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Previous: Linus Torvalds
Message 6 of 6 in “git blame with valgrind massif”
  1. Jon SmirlDec 11, 2007
  2. Pierre HabouzitDec 11, 2007
  3. Jon SmirlDec 11, 2007
  4. André Goddard RosaDec 12, 2007
  5. Linus TorvaldsDec 11, 2007
  6. Pierre HabouzitDec 11, 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.