|
From: Jeroen N. W. [Bahco] <jn...@xs...> - 2007-11-13 20:03:58
|
My guess is that you have to start valgrind with the option --trace-children=yes. See http://valgrind.org/docs/manual/manual-core.html#manual-core.basicopts Jeroen. Shahriyar Amini wrote: > Hi, > > I am trying to instrument the distcc daemon, however, after I start > Valgrind with distccd, Valgrind exits. What is noteworthy is that the > distccd process lives on after Valgrind exits. This gives me reason to > believe that Valgrind does not start instrumentation on it, or that the > daemon goes to sleep before Valgrind can start. Can someone elaborate on > this? Is there a way to instrument daemons? > > Thanks, > Shahriyar > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |
|
From: Shahriyar A. <sm...@co...> - 2007-11-16 01:05:01
|
Thanks for your post. This worked for me, and is the correct solution. Jeroen N. Witmond [Bahco] wrote: > My guess is that you have to start valgrind with the option > --trace-children=yes. See > http://valgrind.org/docs/manual/manual-core.html#manual-core.basicopts > > Jeroen. > > Shahriyar Amini wrote: > >> Hi, >> >> I am trying to instrument the distcc daemon, however, after I start >> Valgrind with distccd, Valgrind exits. What is noteworthy is that the >> distccd process lives on after Valgrind exits. This gives me reason to >> believe that Valgrind does not start instrumentation on it, or that the >> daemon goes to sleep before Valgrind can start. Can someone elaborate on >> this? Is there a way to instrument daemons? >> >> Thanks, >> Shahriyar >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Valgrind-users mailing list >> Val...@li... >> https://lists.sourceforge.net/lists/listinfo/valgrind-users >> >> > > > |