From eb027cfc9ad54c48c468f60fc34be14d804eb7a2 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 8 Nov 2018 19:08:48 -0500 Subject: [PATCH] lttng-{enable,disable}-rotation.1.txt: both types can be specified 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 --- doc/man/lttng-disable-rotation.1.txt | 6 ++---- doc/man/lttng-enable-rotation.1.txt | 8 ++++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/doc/man/lttng-disable-rotation.1.txt b/doc/man/lttng-disable-rotation.1.txt index c0b89ad07..5c79abba3 100644 --- a/doc/man/lttng-disable-rotation.1.txt +++ b/doc/man/lttng-disable-rotation.1.txt @@ -10,8 +10,8 @@ lttng-disable-rotation - Unset a tracing session's rotation schedule SYNOPSIS -------- [verse] -*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *disable-rotation* (option:--timer | option:--size) - [option:--session='SESSION'] +*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *disable-rotation* [option:--session='SESSION'] + (option:--timer | option:--size | option:--timer option:--size) DESCRIPTION @@ -26,8 +26,6 @@ include::common-cmd-options-head.txt[] Rotation schedule condition ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -One of: - option:--size:: Unset the rotation schedule previously set with the nloption:--size option of the man:lttng-enable-rotation(1) command. diff --git a/doc/man/lttng-enable-rotation.1.txt b/doc/man/lttng-enable-rotation.1.txt index eb7622d54..37c9e2c7b 100644 --- a/doc/man/lttng-enable-rotation.1.txt +++ b/doc/man/lttng-enable-rotation.1.txt @@ -10,8 +10,8 @@ lttng-enable-rotation - Set a tracing session's rotation schedule SYNOPSIS -------- [verse] -*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *enable-rotation* (option:--timer='PERIOD' | option:--size='SIZE') - [option:--session='SESSION'] +*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *enable-rotation* [option:--session='SESSION'] + (option:--timer='PERIOD' | option:--size='SIZE' | option:--timer='PERIOD' option:--size='SIZE') DESCRIPTION @@ -41,6 +41,8 @@ part of the current trace chunk is greater than 'SIZE'. Therefore the nloption:--monitor-timer option in man:lttng-enable-channel(1) for more information about the monitor timer. +You can combine the option:--timer and option:--size options. + The naming convention of a trace chunk archive which an automatic rotation creates is the same as with the immediate rotation command, man:lttng-rotate(1). @@ -57,8 +59,6 @@ include::common-cmd-options-head.txt[] Rotation schedule condition ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -One of: - option:--size='SIZE':: Set a rotation schedule so that an automatic rotation occurs every time the total size of the flushed part of the current trace chunk -- 2.34.1