7 lttng-metadata - Manage an LTTng tracing session's metadata generation
13 *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *metadata regenerate* [option:--session='SESSION']
18 The `lttng metadata` command manages a tracing session's metadata
21 As of this version, only the `regenerate` command's action is available.
22 Regenerating a tracing session's metadata can be used to
23 resample the offset between the system's monotonic clock and
26 This command is meant to be used to resample the wall-clock time
28 link:https://en.wikipedia.org/wiki/Network_Time_Protocol[NTP]
29 correction. As such, a system booting with an incorrect wall time can be
30 traced before its wall time is NTP-corrected. Regenerating the tracing
31 session's metadata ensures that trace viewers can accurately determine
32 the events time relative to Unix Epoch.
35 include::common-cmd-options-head.txt[]
38 option:-s, option:--session='SESSION'::
39 Manage the metadata generation of the tracing session named 'SESSION'
40 instead of the current tracing session.
43 include::common-cmd-help-options.txt[]
48 The `lttng metadata regenerate` command can only be used on kernel and
49 user space tracing sessions (using per-user buffering), in non-live
52 See linklttng:lttng-enable-channel(1) for more information about
53 buffering schemes and linklttng:lttng-create(1) for more information
54 about the different tracing session modes.
57 include::common-cmd-footer.txt[]