Doc: lttng clear man page
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 11 Feb 2019 17:19:58 +0000 (12:19 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 10 Apr 2019 20:20:10 +0000 (16:20 -0400)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
doc/man/Makefile.am
doc/man/lttng-clear.1.txt [new file with mode: 0644]

index eb88e86d8cc8f26d1fa81ce55c5fb970290c8bd2..91e2a46d01c3c87a44ddaa6d977a2aa241aac69d 100644 (file)
@@ -30,7 +30,8 @@ MAN1_NAMES = \
        lttng-disable-event \
        lttng-crash \
        lttng-metadata \
-       lttng-regenerate
+       lttng-regenerate \
+       lttng-clear
 MAN3_NAMES =
 MAN8_NAMES = lttng-sessiond lttng-relayd
 MAN1_NO_ASCIIDOC_NAMES =
diff --git a/doc/man/lttng-clear.1.txt b/doc/man/lttng-clear.1.txt
new file mode 100644 (file)
index 0000000..fcce289
--- /dev/null
@@ -0,0 +1,54 @@
+lttng-clear(1)
+===============
+
+
+NAME
+----
+lttng-clear - Clear an LTTng tracing session
+
+
+SYNOPSIS
+--------
+[verse]
+*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *clear* [option:--all | 'SESSION']
+
+
+DESCRIPTION
+-----------
+The `lttng clear` command clears one or more tracing sessions.
+
+If no options are specified, the current tracing session is cleared
+(see man:lttng-create(1) for more information about the current
+tracing session).
+
+If 'SESSION' is specified, the existing tracing session named 'SESSION'
+is cleared.
+
+If the option:--all option is used, *all* the tracing sessions, as listed
+in the output of `lttng list`, are cleared.
+
+Clearing a tracing session removes all tracing data from the tracing buffers and
+remove all local or streamed trace data.
+
+If a session is configured in snapshot mode only the tracing buffers are cleared.
+
+If at least one rotation occurred, only the tracing buffers and the current
+trace chunk is cleared. Previous trace chunks are not cleared.
+
+include::common-cmd-options-head.txt[]
+
+
+option:-a, option:--all::
+    Clear all tracing sessions.
+
+include::common-cmd-help-options.txt[]
+
+
+include::common-cmd-footer.txt[]
+
+
+SEE ALSO
+--------
+man:lttng-rotate(1),
+man:lttng-set-session(1),
+man:lttng(1)
This page took 0.027075 seconds and 5 git commands to generate.