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

Giedrius Statkevičius giedrius.statkevicius at gmail.com
Wed Mar 4 00:49:07 UTC 2015


On 2015.03.04 01:33, Dmitry V. Levin wrote:
> 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.
I like it, seems better this way. Should I submit a v2?

-- 
Thanks,
Giedrius




More information about the Strace-devel mailing list