[PATCH 9/9] strace.1.in: write about optional option parameter for -k

Masatake YAMATO yamato at redhat.com
Tue Mar 13 17:28:14 UTC 2018


Signed-off-by: Masatake YAMATO <yamato at redhat.com>
---
 strace.1.in | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/strace.1.in b/strace.1.in
index b5eb772a..40e61e83 100644
--- a/strace.1.in
+++ b/strace.1.in
@@ -58,11 +58,12 @@
 strace \- trace system calls and signals
 .SH SYNOPSIS
 .SY strace
-.OP \-CdffhikqrtttTvVxxy
+.OP \-CdffhiqrtttTvVxxy
 .OP \-I n
 .OP \-b execve
 .OM \-e expr
 .OP \-a column
+[\fB \-k\fR[\fIunwinder\fR]]
 .OP \-o file
 .OP \-s strsize
 .OM \-P path
@@ -253,11 +254,13 @@ Align return values in a specific column (default column 40).
 .B \-i
 Print the instruction pointer at the time of the system call.
 .TP
-.B \-k
+.B \-k\fr[\fIunwinder\fR]
 Print the execution stack trace of the traced processes after each system call (experimental).
 This option is available only if
 .B strace
-is built with libunwind.
+is built with \fBlibunwind\fR or \fBlibdw\fR. If both are linked to, you can specify
+one of them with \fIunwinder\fR parameter.
+Use\fB\ -V \fRoption to know which unwinder is linked to.
 .TP
 .BI "\-o " filename
 Write the trace output to the file
-- 
2.14.3



More information about the Strace-devel mailing list