If I run strace on a program and that program spawns a subprocess (e.g. perl's system() call), will strace report the system calls for the child process as well?
Yes, but you need to add the -f flag to watch for forks.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago