From 6d6c9e1d11062313f295dbaef6ea4d86042e66b1 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Mon, 17 May 2021 14:09:54 -0400 Subject: [PATCH] lttng-disable-rotation(1): add usage examples MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau Change-Id: I24f132858c12fa4e99b8a24baee9e8becf0d73f8 --- doc/man/lttng-disable-rotation.1.txt | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/doc/man/lttng-disable-rotation.1.txt b/doc/man/lttng-disable-rotation.1.txt index 8b68ded7a..c28d699d2 100644 --- a/doc/man/lttng-disable-rotation.1.txt +++ b/doc/man/lttng-disable-rotation.1.txt @@ -1,6 +1,6 @@ lttng-disable-rotation(1) ========================= -:revdate: 30 April 2021 +:revdate: 17 May 2021 NAME @@ -30,6 +30,8 @@ Without the option:--session option:: See man:lttng-concepts(7) to learn more about the tracing session rotation and trace chunk concepts. +See the <> section below for usage examples. + include::common-lttng-cmd-options-head.txt[] @@ -58,6 +60,30 @@ include::common-lttng-cmd-help-options.txt[] include::common-lttng-cmd-after-options.txt[] +[[examples]] +EXAMPLES +-------- +.Unset the size-based rotation schedule of the current tracing session. +==== +See the option:--size option. + +[role="term"] +---- +$ lttng disable-rotation --size +---- +==== + +.Unset the periodic rotation schedule of a specific tracing session. +==== +See the option:--timer and option:--session options. + +[role="term"] +---- +$ lttng disable-rotation --session=my-session --timer +---- +==== + + include::common-footer.txt[] -- 2.34.1