From e08bff8d2b9c9949e0c582f5fc17e7c3bf014dd8 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Tue, 21 Feb 2012 15:33:07 -0500 Subject: [PATCH] Fix usage note on -a This option also enable syscall tracing, just clarify it in doc. Signed-off-by: Julien Desfossez Signed-off-by: David Goulet --- doc/man/lttng.1 | 2 +- src/bin/lttng/commands/enable_events.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index 34b2f90a9..827c63c18 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -309,7 +309,7 @@ file. \-c, \-\-channel Apply on channel name \-a, \-\-all - Enable all tracepoints + Enable all tracepoints and syscalls \-k, \-\-kernel Apply for the kernel tracer \-u, \-\-userspace diff --git a/src/bin/lttng/commands/enable_events.c b/src/bin/lttng/commands/enable_events.c index 3d2b41c02..b5b46fb36 100644 --- a/src/bin/lttng/commands/enable_events.c +++ b/src/bin/lttng/commands/enable_events.c @@ -104,7 +104,7 @@ static void usage(FILE *ofp) fprintf(ofp, " --list-options Simple listing of options\n"); fprintf(ofp, " -s, --session Apply to session name\n"); fprintf(ofp, " -c, --channel Apply to this channel\n"); - fprintf(ofp, " -a, --all Enable all tracepoints\n"); + fprintf(ofp, " -a, --all Enable all tracepoints and syscalls\n"); fprintf(ofp, " -k, --kernel Apply for the kernel tracer\n"); #if 0 fprintf(ofp, " -u, --userspace [CMD] Apply to the user-space tracer\n"); -- 2.34.1