Like strace.1 -k option should add in output format group. * strace.c (usage): Move -k option to output format group. --- strace.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/strace.c b/strace.c index 9df942e..13f4863 100644 --- a/strace.c +++ b/strace.c @@ -215,6 +215,13 @@ usage: strace [-CdffhiqrtttTvVwxxy] [-I n] [-e expr]...\n\ Output format:\n\ -a column alignment COLUMN for printing syscall results (default %d)\n\ -i print instruction pointer at time of syscall\n\ +" +#ifdef USE_LIBUNWIND +"\ + -k obtain stack trace between each syscall (experimental)\n\ +" +#endif +"\ -o file send trace output to FILE instead of stderr\n\ -q suppress messages about attaching, detaching, etc.\n\ -r print relative timestamp\n\ @@ -263,10 +270,6 @@ Miscellaneous:\n\ -h print help message\n\ -V print version\n\ " -#ifdef USE_LIBUNWIND -" -k obtain stack trace between each syscall (experimental)\n\ -" -#endif /* ancient, no one should use it -F -- attempt to follow vforks (deprecated, use -f)\n\ */ -- 2.7.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel