7 lttng-regenerate - Manage an LTTng tracing session's data regeneration
12 Regenerate the metadata of a session:
15 *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *regenerate metadata* [option:--session='SESSION']
17 Regenerate the state dump of a session:
20 *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *regenerate statedump* [option:--session='SESSION']
24 The `lttng regenerate` command regenerates specific data of a tracing session.
26 As of this version, the `metadata` and `statedump` actions are
30 Regenerating a tracing session's metadata
31 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 The `lttng regenerate metadata` action can be used to resample the offset
33 between the system's monotonic clock and the wall-clock time.
35 This action is meant to be used to resample the wall-clock time following a
36 major link:https://en.wikipedia.org/wiki/Network_Time_Protocol[NTP] correction.
37 As such, a system booting with an incorrect wall time can be traced before its
38 wall time is NTP-corrected. Regenerating the tracing session's metadata ensures
39 that trace viewers can accurately determine the events time relative to Unix
43 Regenerating a tracing session's state dump
44 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
45 The `lttng regenerate statedump` action can be used to collect up-to-date state
46 dump information during the tracing session. This is particularly useful in
47 snapshot (see man:lttng-snapshot(1)) or trace file rotation (see
48 man:lttng-enable-channel(1)) modes where the state dump information may be
52 include::common-cmd-options-head.txt[]
55 option:-s 'SESSION', option:--session='SESSION'::
56 Regenerate the data of the tracing session named 'SESSION'
57 instead of the current tracing session.
60 include::common-cmd-help-options.txt[]
65 The `lttng regenerate metadata` command can only be used on kernel and
66 user space tracing sessions (using per-user buffering), in non-live
69 See man:lttng-enable-channel(1) for more information about
70 buffering schemes and man:lttng-create(1) for more information
71 about the different tracing session modes.
74 include::common-cmd-footer.txt[]