|
From: Peter T. <pt...@li...> - 2014-11-20 10:24:39
|
Julian Seward skrev den 2014-11-20 09:52: > On 11/20/2014 09:04 AM, Peter Toft wrote: >> One thing that I often is missing with valgrind/massif is a way to >> know >> know where I roughly am in my code when I see a given memory peak. >> >> I could envision to add a valgrind-macro or alike in my C-code to >> indicate where I am in my code add (tentative syntax) > >> Does something remotely similar to this already exist? > > Not as far as I can see. I had a look through ms_main.c but it doesn't > seem to support any client requests. > > One thing you might consider is to use the stack recording facilities, > VG_(get_ExeContext), to get a stack trace for each for each snapshot > that Massif makes. Not sure how you'd combine the output with the > existing output, though. > > J Could it be roadmapped? IMHO it would be very nice to have. /pto |