lttng-view — Launch an LTTng trace reader
lttng view command launches an external trace reader to read the
current traces of:
The recording session named
The local file system directory
The current recording session (see concepts(1) to learn more about the current recording session).
See the “EXAMPLES” section below for usage examples.
DIR as the last argument of the trace reader command instead
of the output directory of the selected recording session.
Use the trace reader
READER to read the traces.
READER is the absolute path to the reader command to use, and it can
contain command arguments as well. The
view command passes the trace
directory path to read to the
READER command as its last argument.
Command warning (something went wrong during the command)
1 to abort the process after the first error is
Path to the LTTng home directory.
Useful when the Unix user running the commands has a non-writable home directory.
Absolute path to the manual pager to use to read the LTTng
command-line help (with lttng-help(1) or with the
--help option) instead of
Path to the directory containing the
session.xsd recording session
configuration XML schema.
--sessiond-path general option overrides this environment
Unix user’s LTTng runtime configuration.
Default output directory of LTTng traces in local and snapshot modes.
Override this path with the
--output option of the
Unix user’s LTTng runtime and configuration directory.
$LTTNG_HOME defaults to the value of the
Example:Read the traces of the current recording session with Babeltrace.
Example:Read the traces of a specific recording session with a custom trace reader.
lttng view --viewer='/usr/bin/my-reader -zK --details=3' \ my-session
Special thanks to Michel Dagenais and the DORSAL laboratory at École Polytechnique de Montréal for the LTTng journey.
Also thanks to the Ericsson teams working on tracing which helped us greatly with detailed bug reports and unusual test cases.