Thread (6 messages) flat view 6 messages, 4 authors, 2016-06-15

Re: git blame with valgrind massif

From: Pierre Habouzit <hidden>
Date: 2016-06-15 22:43:58

On Tue, Dec 11, 2007 at 09:22:53PM +0000, Linus Torvalds wrote:

On Tue, 11 Dec 2007, Jon Smirl wrote:
quoted
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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help