Julian,

Thanks for the reply. Is this option available in valgrind 3.5.0 ? When I
specify this option, valgrind throws an error "Bad option '--skip-children
aborting"

Thanks,
Kumar

On Tue, Feb 23, 2010 at 4:47 PM, Julian Seward <[email protected]> wrote:

>
> > during its life time and I don't want them to run under valgrind. Is
> > there a way to exclude certain children from running under valgrind?
>
> Try --trace-children-skip.  This allows skipping children based on the
> executable name.  For example
>
>  "--trace-children-skip=*/sed,*/expr,*/xgcc,*/cat,*/rm,*/stty"
>
> inhibits tracing into sed, expr, xgcc, cat, rm and stty.  You need
> to put the entire flag in quotes to stop the shell expanding the
> wildcards.  Be careful with this flag; make sure you don't include
> any process which might create a child process that you do want
> to trace into -- that is, make sure you don't include bash, sh, perl,
> python, etc, in the list.
>
> J
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to