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']
19 The `lttng regenerate` command manages a tracing session's data regeneration
22 As of this version, only the `metadata` command's action is available.
23 Regenerating a tracing session's metadata can be used to
24 resample the offset between the system's monotonic clock and
27 This command is meant to be used to resample the wall-clock time
29 link:https://en.wikipedia.org/wiki/Network_Time_Protocol[NTP]
30 correction. As such, a system booting with an incorrect wall time can be
31 traced before its wall time is NTP-corrected. Regenerating the tracing
32 session's metadata ensures that trace viewers can accurately determine
33 the events time relative to Unix Epoch.
36 include::common-cmd-options-head.txt[]
39 option:-s, option:--session='SESSION'::
40 Manage the metadata generation of the tracing session named 'SESSION'
41 instead of the current tracing session.
44 include::common-cmd-help-options.txt[]
49 The `lttng regenerate metadata` command can only be used on kernel and
50 user space tracing sessions (using per-user buffering), in non-live
53 See man:lttng-enable-channel(1) for more information about
54 buffering schemes and man:lttng-create(1) for more information
55 about the different tracing session modes.
58 include::common-cmd-footer.txt[]