Use long options in command line examples
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 14 Oct 2014 02:04:45 +0000 (22:04 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 14 Oct 2014 02:04:45 +0000 (22:04 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
contents/getting-started/viewing-and-analyzing.md
contents/using-lttng/controlling-tracing/enabling-disabling-events.md
contents/using-lttng/controlling-tracing/lttng-live.md

index 61816240f23f751d5fb154d242fa27935e05a2a2..4b970cd51563c68b38fa65bfc01f749a4edfb694 100644 (file)
@@ -55,7 +55,7 @@ babeltrace ~/lttng-traces/my-kernel-session | grep sys_
 Counting events is also straightforward:
 
 <pre class="term">
-babeltrace ~/lttng-traces/my-kernel-session | grep sys_read | wc -l
+babeltrace ~/lttng-traces/my-kernel-session | grep sys_read | wc --lines
 </pre>
 
 The text output of `babeltrace` is useful for isolating events by simple
index ac4d137d653d4405b0d0f7c07e6f6c3bf49e72dc..fd6a5cd8385b76ec5900dc008f6010c0a9ed6f0f 100644 (file)
@@ -111,7 +111,7 @@ Disabling an event is simpler: you only need to provide the event
 name to the `disable-event` command:
 
 <pre class="term">
-lttng disable-event -u my_app:hello_you
+lttng disable-event --userspace my_app:hello_you
 </pre>
 
 This name has to match a name previously given to `enable-event` (it
index 9d646202fcabd12c017825132c123386f2a8a6f0..26b11c151a47510111b06a7dc68744d4fb3d3c44 100644 (file)
@@ -69,12 +69,12 @@ list active tracing sessions by doing the following (assuming the relay
 daemon to connect to runs on the same host):
 
 <pre class="term">
-babeltrace -i lttng-live net://localhost
+babeltrace --input-format lttng-live net://localhost
 </pre>
 
 Then, choose a tracing session and start viewing events as they arrive
 using LTTng live, e.g.:
 
 <pre class="term">
-babeltrace -i lttng-live net://localhost/host/hostname/my-session
+babeltrace --input-format lttng-live net://localhost/host/hostname/my-session
 </pre>
This page took 0.02665 seconds and 4 git commands to generate.