Dmitry V. Levin fa8c286d50 Implement simultaneous use of -p option and tracing of a command
* strace.c (init): Allow -p option along with a command.
(startup_child): In -D mode, record the parent of the tracer process
as strace_child.
(startup_attach): Save trace_tracer_pid before -D mode fork.
When tracing a command in -f mode, do not check for the command's
threads as it has no threads at this moment.
Never attach to the tracer process.
In -D mode, never attach to the parent of the tracer process,
terminate that process only once at the end of startup_attach,
and reset strace_child.
* strace.1: Document that -p option can be used along with tracing
of a command.
* NEWS: Mention it.
* tests/attach-p-cmd-cmd.c: New file.
* tests/attach-p-cmd-p.c: Likewise.
* tests/attach-p-cmd.test: New test.
* tests/.gitignore: Add attach-p-cmd-cmd and attach-p-cmd-p.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(TESTS): Add attach-p-cmd.test.

This fixes Debian bug #549942.
2016-01-22 19:37:11 +00:00
2015-12-30 23:28:35 +00:00
2015-11-26 01:49:36 +00:00
2016-01-13 12:12:33 +00:00
2015-07-20 22:03:07 +00:00
2015-11-24 02:30:45 +00:00
2015-08-18 16:15:33 +00:00
2015-07-27 15:27:43 +00:00
2009-07-08 21:01:21 +00:00
2015-07-20 22:03:07 +00:00
2015-07-20 22:03:07 +00:00
2013-05-17 23:18:55 +00:00
2015-11-27 02:38:59 +03:00
2015-11-25 19:10:56 +00:00
2016-01-08 18:53:27 +00:00
2015-08-28 08:46:23 +00:00
2015-07-09 01:43:44 +00:00
2014-05-30 21:40:03 +00:00
2015-07-20 22:03:07 +00:00
2015-07-20 22:03:07 +00:00
2012-02-25 15:29:21 +01:00
2015-12-04 18:05:38 +00:00
2015-11-22 23:10:12 +00:00
2015-11-22 23:10:12 +00:00
2015-07-09 02:04:34 +00:00
2014-05-30 21:31:08 +00:00
2016-01-08 19:20:05 +00:00
2015-09-16 00:14:55 +00:00
2015-09-16 00:14:55 +00:00
2016-01-12 03:07:39 +00:00
2013-05-17 23:18:55 +00:00
2015-09-16 00:14:55 +00:00
2015-07-18 00:01:40 +00:00
2015-09-16 00:14:55 +00:00
2015-08-18 16:15:33 +00:00
2015-07-18 00:01:39 +00:00
2015-07-16 23:44:57 +00:00
2015-07-13 20:16:24 +00:00
2016-01-13 12:12:33 +00:00
2015-07-16 22:58:12 +00:00
2015-12-07 00:38:38 +00:00
2015-08-28 08:46:23 +00:00

This is strace, a system call tracer for Linux.

strace is released under a Berkeley-style license at the request
of Paul Kranenburg; see the file COPYING for details.

See the file CREDITS for a list of authors and other contributors.

See the file INSTALL for compilation and installation instructions.

See the file NEWS for information on what has changed in recent
versions.

You can get the latest version of strace from its homepage at
http://sourceforge.net/projects/strace/ .

Please send bug reports and enhancements to the strace
mailinglist at strace-devel@lists.sourceforge.net.
Description
No description provided
Readme 17 MiB
Languages
C 92.2%
Shell 3.4%
M4 1.4%
Makefile 0.8%
Roff 0.7%
Other 1.5%