X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=doc%2Fman%2Flttng-regenerate.1.txt;h=a3af401f758d3fa42c7a8a032ed7646afe89364d;hp=dbbfa4d1a3472e5530a4f05b192b1af1c6e613f8;hb=dbcf3dd34ec3b5aa41f7fda874e59283a08eba98;hpb=54cd6107ba9eacbe6e54292293698a8d2d5083c7 diff --git a/doc/man/lttng-regenerate.1.txt b/doc/man/lttng-regenerate.1.txt index dbbfa4d1a..a3af401f7 100644 --- a/doc/man/lttng-regenerate.1.txt +++ b/doc/man/lttng-regenerate.1.txt @@ -9,35 +9,51 @@ lttng-regenerate - Manage an LTTng tracing session's data regeneration SYNOPSIS -------- -Regenerate the metadata of a session +Regenerate the metadata of a session: [verse] *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *regenerate metadata* [option:--session='SESSION'] +Regenerate the state dump of a session: + +[verse] +*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *regenerate statedump* [option:--session='SESSION'] + DESCRIPTION ----------- -The `lttng regenerate` command manages a tracing session's data regeneration -options. +The `lttng regenerate` command regenerates specific data of a tracing session. + +As of this version, the `metadata` and `statedump` actions are +available. + + +Regenerating a tracing session's metadata +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The `lttng regenerate metadata` action can be used to resample the offset +between the system's monotonic clock and the wall-clock time. + +This action is meant to be used to resample the wall-clock time following a +major link:https://en.wikipedia.org/wiki/Network_Time_Protocol[NTP] correction. +As such, a system booting with an incorrect wall time can be traced before its +wall time is NTP-corrected. Regenerating the tracing session's metadata ensures +that trace viewers can accurately determine the events time relative to Unix +Epoch. -As of this version, only the `metadata` command's action is available. -Regenerating a tracing session's metadata can be used to -resample the offset between the system's monotonic clock and -the wall-clock time. -This command is meant to be used to resample the wall-clock time -following a major -link:https://en.wikipedia.org/wiki/Network_Time_Protocol[NTP] -correction. As such, a system booting with an incorrect wall time can be -traced before its wall time is NTP-corrected. Regenerating the tracing -session's metadata ensures that trace viewers can accurately determine -the events time relative to Unix Epoch. +Regenerating a tracing session's state dump +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The `lttng regenerate statedump` action can be used to collect up-to-date state +dump information during the tracing session. This is particularly useful in +snapshot (see man:lttng-snapshot(1)) or trace file rotation (see +man:lttng-enable-channel(1)) modes where the state dump information may be +lost. include::common-cmd-options-head.txt[] option:-s, option:--session='SESSION':: - Manage the metadata generation of the tracing session named 'SESSION' + Regenerate the data of the tracing session named 'SESSION' instead of the current tracing session.