strace -f not following child process
dvlasenk at redhat.com
Wed Jul 10 11:58:23 UTC 2013
On 07/10/2013 01:15 PM, Florian Kelbert wrote:
>> The log shows that exit_group(0) is indeed called immediately after clone(),
>> making "strace exited too early to see the child" theory feasible.
>> Can you test this theory by replacing
>> while (nprocs != 0)
>> while (1)
>> in strace.c in function trace()?
>> The exit from trace loop will then happen when we receive ECHILD.
>> In my testing it worked.
Thanks. The fix is in git already.
More information about the Strace-devel