[PATCH] Document that -k is only available with libunwind

Dmitry V. Levin ldv at altlinux.org
Tue Mar 3 23:33:40 UTC 2015


On Tue, Mar 03, 2015 at 09:24:34PM +0200, Giedrius Statkevičius wrote:
> Without this the user may get confused why `man strace` reports that
> there is a option called -k but it doesn't work.
> 
> * strace.1: Add that -k is only available when strace is compiled with
>   libunwind support.
> ---
>  strace.1 | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/strace.1 b/strace.1
> index 1e69217..8c25322 100644
> --- a/strace.1
> +++ b/strace.1
> @@ -269,6 +269,7 @@ Print the instruction pointer at the time of the system call.
>  .TP
>  .B \-k
>  Print the execution stack trace of the traced processes after each system call (experimental).
> +Only available if compiled with libunwind support.

Thanks.  Minor corrections:
s/only available/available only/
s/compiled/built/

How do you like the following wording:
This option is available only if strace is built with libunwind.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150304/15f4761f/attachment.bin>


More information about the Strace-devel mailing list