Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I2ee1a32fd44b6abf6a8d58749f1a42731b30ba56
lttng-rotate(1)
===============
lttng-rotate(1)
===============
A `rotate-session` trigger action can also rotate a tracing session (see
man:lttng-add-trigger(1)).
A `rotate-session` trigger action can also rotate a tracing session (see
man:lttng-add-trigger(1)).
+See the <<examples,EXAMPLES>> section below for usage examples.
+
[IMPORTANT]
====
You may only use the `rotate` command when:
[IMPORTANT]
====
You may only use the `rotate` command when:
include::common-lttng-cmd-after-options.txt[]
include::common-lttng-cmd-after-options.txt[]
+[[examples]]
+EXAMPLES
+--------
+.Rotate the current tracing session.
+====
+[role="term"]
+----
+$ lttng rotate
+----
+====
+
+.Rotate a specific tracing session.
+====
+[role="term"]
+----
+$ lttng rotate my-session
+----
+====
+
+.Rotate the current tracing session without waiting for completion.
+====
+See the option:--no-wait option.
+
+[role="term"]
+----
+$ lttng rotate --no-wait
+----
+====
+
+
include::common-footer.txt[]
include::common-footer.txt[]