|
From: yoma s. <sop...@gm...> - 2015-11-23 15:18:37
Attachments:
massif.out.5744
test.c
|
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)
2. there is a option call "--trace-children=yes" to capture all
children information.
is it possible to limit the specific child name for tracking?
if possile, should I use some other valgrind execution options or
modify the source code?
appreciate all your kind help in advance,
|
|
From: yoma s. <sop...@gm...> - 2015-11-24 05:16:19
|
hi Azat: 2015-11-23 23:33 GMT+08:00 Azat Khuzhin <a3a...@gm...>: > On Mon, Nov 23, 2015 at 11:18:29PM +0800, yoma sophian wrote: >> 2. there is a option call "--trace-children=yes" to capture all >> children information. >> is it possible to limit the specific child name for tracking? >> if possile, should I use some other valgrind execution options or >> modify the source code? > > From valgrind(1): > ... > --trace-children-skip=patt1,patt2.. > ... > --trace-children-skip-by-arg=patt1,patt2.. > ... BTW, is there any other option that we can focus on some specific child? Thanks for your kind help ^^ |