|
From: smiley g. <smi...@ya...> - 2004-03-15 16:14:38
|
Hello David,
Thanks for your note. I did go through the
documentation but missed it. thanks for your concern
and patience again David.
What I am really trying to do is to valgrind a daemon
process - actually a host of daemon processes.
I downloaded a sample daemon code and tried valgrind
on it. Have provided it below.
Its evident that you chdir('/'), and usually there is
no write permission there. when i comment it off it
does the same.
i referred other places and saw that we close stdout
and stderr of the daemon process. Its not so with the
code.
How to go about in this case ?
Thanks,
Madhan.
--- David Eriksson <tw...@us...>
wrote:
> On Fri, 2004-02-27 at 08:49, smiley glitter wrote:
> > Hello,
> >
> > Is valgrind compatible with a fork'd program. I
> have
> > an application (foo) that forks/execs another
> > program(bar).
> >
> > What is required is to only valgrind the fork'd
> > application (bar). Is it possible.
> >
> > I tried valgrind foo, but bar is not valgrinded.
> >
> > How can I check my fork'd application with
> valgrind.
> > is it possible. any pointers ?
> >
> > Thanks,
> > Smile.
>
> --trace-children=yes
>
>
> --
> Regards,
> -\- David Eriksson -/-
>
> SynCE - http://synce.sourceforge.net
> CalcEm - http://calcem.sourceforge.net
> ScummVM - http://scummvm.sourceforge.net
> Desquirr - http://desquirr.sourceforge.net
> SetiWrapper - http://setiwrapper.sourceforge.net
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com |