From: Philippe Proulx Date: Fri, 9 Nov 2018 00:08:48 +0000 (-0500) Subject: lttng-{enable,disable}-rotation.1.txt: both types can be specified X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=eb027cfc9ad54c48c468f60fc34be14d804eb7a2 lttng-{enable,disable}-rotation.1.txt: both types can be specified Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- 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