From: Philippe Proulx Date: Tue, 14 Oct 2014 02:04:45 +0000 (-0400) Subject: Use long options in command line examples X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=b80ba3062f71ca7dd34abc956e5cfe9d84d90f35;hp=757357fb1410ab06f4aafa0720fa03051657d571;p=lttng-docs.git Use long options in command line examples Signed-off-by: Philippe Proulx --- diff --git a/contents/getting-started/viewing-and-analyzing.md b/contents/getting-started/viewing-and-analyzing.md index 6181624..4b970cd 100644 --- a/contents/getting-started/viewing-and-analyzing.md +++ b/contents/getting-started/viewing-and-analyzing.md @@ -55,7 +55,7 @@ babeltrace ~/lttng-traces/my-kernel-session | grep sys_ Counting events is also straightforward:
-babeltrace ~/lttng-traces/my-kernel-session | grep sys_read | wc -l
+babeltrace ~/lttng-traces/my-kernel-session | grep sys_read | wc --lines
 
The text output of `babeltrace` is useful for isolating events by simple diff --git a/contents/using-lttng/controlling-tracing/enabling-disabling-events.md b/contents/using-lttng/controlling-tracing/enabling-disabling-events.md index ac4d137..fd6a5cd 100644 --- a/contents/using-lttng/controlling-tracing/enabling-disabling-events.md +++ b/contents/using-lttng/controlling-tracing/enabling-disabling-events.md @@ -111,7 +111,7 @@ Disabling an event is simpler: you only need to provide the event name to the `disable-event` command:
-lttng disable-event -u my_app:hello_you
+lttng disable-event --userspace my_app:hello_you
 
This name has to match a name previously given to `enable-event` (it diff --git a/contents/using-lttng/controlling-tracing/lttng-live.md b/contents/using-lttng/controlling-tracing/lttng-live.md index 9d64620..26b11c1 100644 --- a/contents/using-lttng/controlling-tracing/lttng-live.md +++ b/contents/using-lttng/controlling-tracing/lttng-live.md @@ -69,12 +69,12 @@ list active tracing sessions by doing the following (assuming the relay daemon to connect to runs on the same host):
-babeltrace -i lttng-live net://localhost
+babeltrace --input-format lttng-live net://localhost
 
Then, choose a tracing session and start viewing events as they arrive using LTTng live, e.g.:
-babeltrace -i lttng-live net://localhost/host/hostname/my-session
+babeltrace --input-format lttng-live net://localhost/host/hostname/my-session