Add an lttng-metadata man page
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 Mar 2016 16:04:18 +0000 (12:04 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 Mar 2016 19:03:47 +0000 (15:03 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
doc/man/Makefile.am
doc/man/lttng-metadata.1.txt [new file with mode: 0644]
doc/man/lttng.1.txt

index bb0772fb35ae43acc33f6884f95c8be6a77da4c2..f3afa448f168c677ac5989e4ded8c8ff6c046293 100644 (file)
@@ -30,7 +30,8 @@ MAN1_NAMES = \
        lttng-snapshot \
        lttng-enable-event \
        lttng-disable-event \
-       lttng-crash
+       lttng-crash \
+       lttng-metadata
 MAN3_NAMES =
 MAN8_NAMES = lttng-sessiond lttng-relayd
 MAN1_NO_ASCIIDOC_NAMES =
diff --git a/doc/man/lttng-metadata.1.txt b/doc/man/lttng-metadata.1.txt
new file mode 100644 (file)
index 0000000..a146c93
--- /dev/null
@@ -0,0 +1,62 @@
+lttng-metadata(1)
+=================
+
+
+NAME
+----
+lttng-metadata - Manage an LTTng tracing session's metadata generation
+
+
+SYNOPSIS
+--------
+[verse]
+*lttng* ['GENERAL OPTIONS'] *metadata regenerate* [option:--session='SESSION']
+
+
+DESCRIPTION
+-----------
+The `lttng metadata` command manages a tracing session's metadata
+generation options.
+
+As of this version, only the `regenerate` 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.
+
+
+include::common-cmd-options-head.txt[]
+
+
+option:-s, option:--session='SESSION'::
+    Manage the metadata generation of the tracing session named 'SESSION'
+    instead of the current tracing session.
+
+
+include::common-cmd-help-options.txt[]
+
+
+LIMITATIONS
+-----------
+The `lttng metadata regenerate` command can only be used on kernel and
+user space tracing sessions (using per-user buffering), in non-live
+mode.
+
+See linklttng:lttng-enable-channel(1) for more information about
+buffering schemes and linklttng:lttng-create(1) for more information
+about the different tracing session modes.
+
+
+include::common-cmd-footer.txt[]
+
+
+SEE ALSO
+--------
+linklttng:lttng(1)
index a737e11f346ed26e4fb8a93f66ad0758dfb6f3ca..902d8a7e6b1bf70f291cc357d306650333efe345 100644 (file)
@@ -150,6 +150,9 @@ linklttng:lttng-create(1)::
 linklttng:lttng-destroy(1)::
     Tear down tracing sessions.
 
+linklttng:lttng-metadata(1)::
+    Manage an LTTng tracing session's metadata generation.
+
 linklttng:lttng-save(1)::
     Save tracing session configurations.
 
This page took 0.02663 seconds and 4 git commands to generate.