commit | 9b49af1871174394b2f77fb53c5e92b38b5fce18 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue May 24 11:10:22 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue May 24 12:14:33 2016 +0000 |
tree | d15df2bdf24f8289d46a258832b07483dcd8af1b | |
parent | 475d2b5da6dda57abdf10e26d1f3699e6f7c9619 [diff] |
tests/attach-f-p.c: sleep a bit more to let the tracer catch up On noticeably lagging systems, the parent process may invoke its chdir call before the tracer gets notified about completion of its last child process. Add extra sleep in the parent process to win the race. * tests/attach-f-p.c (main): Change timerid into a static array. Arm a timer in the parent process and wait for it.
This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.
See the file NEWS for information on what has changed in recent versions.
Please send bug reports and enhancements to the strace mailing list.