On Mon, 2015-11-23 at 23:18 +0800, yoma sophian wrote: > hi all: > I have some questions about massif: > 1. from massif.out file, I cannot tell where the free is called > I compile the sample code in the document page as below and get > the massif output. From the log, there are messages about where > "malloc" is called, but I cannot find the place for "free". > is there any option I need to add when using massif tool or config > I need to add when compile the valgrind? > ( in the smple I attach, the line#28 is where "free" is called, but > there is no such information in the massif output) 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 ? > appreciate all your kind help in advance, 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. Philippe ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140 _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users