On Tue, 2015-03-03 at 04:59 +0000, sankoor sampath wrote:
> Hi,
> 
> Am very new valgrind, pl help me out:
> I have daemon running on linux machine, in which i have injected 1MB
> memory leak & trying to find memory leak in a daemon using valgrind.
> But am not able to get the proper memory leak ouptut , Pl find the
> below the valgrind o/p:
...
> ==2476==
> 0513-059 The FSRM Subsystem has been started. Subsystem PID is 2477.
> ==2476==
Isn't the above indicating that the daemon is started as a child process
of 2476 ?

Then you should use
   --trace-children=yes
to ensure valgrind also instruments the daemon process.


Philippe



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to