summaryrefslogtreecommitdiff
path: root/strace.1
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2010-03-28 19:24:54 +0000
committerDmitry V. Levin <ldv@altlinux.org>2010-04-07 10:19:26 +0000
commite3a7ef5a2a3ac31bfa0d3f9ce65981e51700073e (patch)
tree3fa4478cd9e137f4db80af040775dc01cb7a3187 /strace.1
parentc94a774a3bf40cee1ef6babc3f0615ec956f6a65 (diff)
downloadstrace-e3a7ef5a2a3ac31bfa0d3f9ce65981e51700073e.tar.gz
strace-e3a7ef5a2a3ac31bfa0d3f9ce65981e51700073e.tar.bz2
strace-e3a7ef5a2a3ac31bfa0d3f9ce65981e51700073e.tar.xz
Implement -C option to combine regular and -c output
* defs.h (cflag_t): New enum. * strace.1: Document -C option. * strace.c (cflag): Update type. (main): Handle -C option. (trace): Update use of cflag. * count.c (count_syscall): Move clearing of TCB_INSYSCALL to ... * syscall.c (trace_syscall): ... here. Update use of cflag. Based on patch by Adrien Kunysz.
Diffstat (limited to 'strace.1')
-rw-r--r--strace.17
1 files changed, 6 insertions, 1 deletions
diff --git a/strace.1 b/strace.1
index d35a74e..aff8f41 100644
--- a/strace.1
+++ b/strace.1
@@ -43,7 +43,7 @@ strace \- trace system calls and signals
.SH SYNOPSIS
.B strace
[
-.B \-dffhiqrtttTvxx
+.B \-CdffhiqrtttTvxx
]
[
.BI \-a column
@@ -243,6 +243,11 @@ program exit. On Linux, this attempts to show system time (CPU time spent
running in the kernel) independent of wall clock time. If -c is used with
-f or -F (below), only aggregate totals for all traced processes are kept.
.TP
+.B \-C
+Like
+.B \-c
+but also print regular output while processes are running.
+.TP
.B \-d
Show some debugging output of
.B strace