Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Id410c79fddb88de87edda333bec9ef59b6f5afc9
lttng-clear(1)
==============
lttng-clear(1)
==============
sends tracing data over the network for the selected tracing session(s)
to an LTTng relay daemon configured as such, the `clear` command fails.
sends tracing data over the network for the selected tracing session(s)
to an LTTng relay daemon configured as such, the `clear` command fails.
+See the <<examples,EXAMPLES>> section below for usage examples.
+
include::common-lttng-cmd-options-head.txt[]
include::common-lttng-cmd-options-head.txt[]
include::common-lttng-cmd-after-options.txt[]
include::common-lttng-cmd-after-options.txt[]
+[[examples]]
+EXAMPLES
+--------
+.Clear the current tracing session.
+====
+[role="term"]
+----
+$ lttng clear
+----
+====
+
+.Clear a specific tracing session.
+====
+[role="term"]
+----
+$ lttng clear my-session
+----
+====
+
+.Clear all tracing sessions.
+====
+See the option:--all option.
+
+[role="term"]
+----
+$ lttng clear --all
+----
+====
+
+
include::common-footer.txt[]
include::common-footer.txt[]