Hi all,
   Does anyone have any pointers on how to catch when a fork in a client
occurs? Precisely my aim is to order the PIDs with respect to when they
occurred.

Say client creates a total of 3 children excluding the parent. I'd like to
know roughly in the SBs or even instructions if possible when that fork call
started.

My current understanding is that when the client forks, valgrind process
will replicate itself. Catching the fork within the child is not a problem
by simply checking the PID of the child; however, how would I go about
making sure that the parent knows that a child has been created? Not within
the client, but within Valgrind.

Thoughts?
-- 
View this message in context: 
http://old.nabble.com/catching-a-fork%28%29-in-client-tp31954761p31954761.html
Sent from the Valgrind - Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to