diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | doc/strace.1.in | 14 |
2 files changed, 16 insertions, 0 deletions
@@ -3,6 +3,8 @@ Noteworthy changes in release ?.? (????-??-??) * Improvements * Updated lists of ioctl commands from Linux 6.3. + * Implemented -l/--syscall-limit option to automatically detach tracees + after capturing the specified number of syscalls. Noteworthy changes in release 6.2 (2023-02-26) ============================================== diff --git a/doc/strace.1.in b/doc/strace.1.in index 71661bd2e..c40d9b7ba 100644 --- a/doc/strace.1.in +++ b/doc/strace.1.in @@ -52,6 +52,7 @@ strace \- trace system calls and signals .OP \-X format .OM \-P path .OM \-p pid +.OP \-l limit .OP \-\-seccomp\-bpf .if '@ENABLE_SECONTEXT_FALSE@'#' .OP \-\-secontext\fR[=\fIformat\fR] .BR "" { @@ -74,6 +75,7 @@ strace \- trace system calls and signals .OP \-U columns .OM \-P path .OM \-p pid +.OP \-l limit .OP \-\-seccomp\-bpf .BR "" { .OR \-p pid @@ -465,6 +467,18 @@ not stop on default if .BR \-D ). .RE +.TP +.BI "\-l " limit +.TQ +.BR "\-\-syscall\-limit" = \fIlimit\fR +Detach all tracees when +.I limit +number of syscalls have been captured. Syscalls filtered out via +.BR \-\-trace , +.B \-\-trace\-path +or +.B \-\-status +options are not considered when keeping track of the number of syscalls that are captured. .SS Filtering .TP 12 \fB\-e\ trace\fR=\,\fIsyscall_set\fR |