This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Follow specific symbol's DW_AT_decl_file


On Sun, 21 Jan 2007 23:56:10 +0100, Daniel Jacobowitz wrote:
> On Sun, Jan 21, 2007 at 11:35:33PM +0100, Jan Kratochvil wrote:
...
> > Due to that comment I originally valgrind(1)ed it and on my testcase the memory
> > requirement increase was visible but negligible.
> 
> How did you use valgrind for this - massif?

IIRC the default `memcheck'.  I checked its `bytes allocated' - total across
the run, not the peak total allocations size - a bit bogus but if this does not
increase much it can be assumed the code change is OK.


> I hadn't tried that one before.  I used an old copy of glibc's memusage
> script; massif is a bit more interesting.

Thanks for the tip next time I need it.  Interesting valgrind's memcheck says
618MB total and memusage 134MB total (55MB peak) but I did not check more.


Regards,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]