Re: how to attach valgrind to more than one process at a time

John Carter via Valgrind-users <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <CAFD1m3GEHQte9ATidzNJnJinqG5joK1nGrnO=JpoQzCyTggP+Q@mail.gmail.com>
If a script or something fires off all processes, you can use
--trace-children=yes to grind the child processes as well.

You can also ...
    --trace-children-skip=patt1,patt2,...    specifies a list of executables
                              that --trace-children=yes should not trace
into
    --trace-children-skip-by-arg=patt1,patt2,...   same as
--trace-children-skip=
                              but check the argv[] entries for children,
rather
                              than the exe name, to make a follow/no-follow
decision

On Tue, Jun 1, 2021 at 4:47 PM gangadhara reddy chavva <
[email protected]> wrote:

> Hi,
>
> I am working on network routers where there will be multiple protocols
> running as different processes. if i want to attach the valgrind for more
> than one process at the same time what is the command/option to use.
>
> Thank you.
>
> Thanks,
> Gangadhar
> _______________________________________________
> Valgrind-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>


-- 
John Carter
Phone : (64)(3) 358 6639
Tait Electronics
PO Box 1645 Christchurch
New Zealand

-- 
This Communication is Confidential. We only send and receive email on the
basis of the terms set out at www.taitradio.com/email_disclaimer 
<http://www.taitradio.com/email_disclaimer>

_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.