Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
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
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
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>