|
From: yoma s. <sop...@gm...> - 2015-11-25 05:32:40
|
hi philippe > massif does not provide information about where memory was freed. > It shows the memory used by your program, and where it was allocated. > > For what reason do you want to know where some memory was freed ? if there is no free information output by massif, how could massif-visualizer show the heap memory usage decreased with thinner color bar if some function call free? (take the web side sample for example, the color of main in massif-visualizer will get thinner at the end of UI output) I cannot see any free information in the ms_print > You are welcome. Note that such type of questions is well suited > on valgrind-users. valgrind-developers is more used for questions > about valgrind development itself. So, no need to send the question > on both mailing lists. Originally I thought maybe my question may nedd to modify source or compile option. Sorry for sending to 2 mailing lists ^^ BTW, I found the massif output seems only created when program exit. is there any option or some modifification for valgrind to generate massif.out in a period of time or by specific event, such as user add special code in program or press specia button, etc? Since I am using valgrind to profile a daemon heap usage when it runing before and after some specific function, but that mean I have to kill the daemon before and after running function. And that is quite inconvinent. thanks for your kind help, |