From: Julien Desfossez Date: Tue, 21 Feb 2012 20:33:07 +0000 (-0500) Subject: Fix usage note on -a X-Git-Tag: v2.0.0-rc2~31 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e08bff8d2b9c9949e0c582f5fc17e7c3bf014dd8;p=lttng-tools.git 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 --- 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");