commit | 2cd488b2590dc695d98260cb13bf8188420c3a8a | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Sat Feb 07 19:41:48 2015 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Sat Feb 07 22:28:31 2015 +0000 |
tree | 98b77a280731fd1973b12ba1e985183d80e8d9a7 | |
parent | aa80192e79b2f49e104461148bbd745a49c74d2d [diff] |
When the process stared by strace exits/terminates, forget its pid The process stared by strace can exit/terminate only once. When this happens, forget its pid, so that any other event or action related to a process with the same pid as the pid of that first process would not be confused with that first process. * strace.c (print_signalled, print_exited): Clear strace_child when it equals to the given pid.