table of contents
LTTNG-CRASH(1) | LTTng Manual | LTTNG-CRASH(1) |
NAME¶
lttng-crash - Recover and read LTTng trace buffers in the event of a crash
SYNOPSIS¶
lttng-crash [--extract=DIR | --viewer=READER] [-verbose]... SHMDIR
DESCRIPTION¶
The Linux Trace Toolkit: next generation <https://lttng.org/> is an open-source software package used for correlated tracing of the Linux kernel, user applications, and user libraries.
LTTng consists of Linux kernel modules (for Linux kernel tracing) and dynamically loaded libraries (for user application and library tracing).
The lttng-crash command-line tool recovers LTTng trace buffers in the event of a system crash.
lttng-crash reads files within the directory SHMDIR and does one of:
Without the --extract option
With the --extract=DIR option
SHMDIR is the directory specified as the argument of the --shm-path option of the lttng-create(1) command used to create the recording session for which to recover the traces.
OPTIONS¶
-x DIR, --extract=DIR
-v, --verbose
Specify this option up to three times to get more levels of verbosity.
-e READER, --viewer=READER
READER is the absolute path to the reader command to use, and it can contain command arguments as well. lttng-crash passes the trace directory paths to the READER command as its last arguments.
Without this option, lttng crash uses babeltrace2(1) if it’s available. Otherwise, it tries to use babeltrace(1).
Program information¶
-h, --help
This option attempts to launch /usr/bin/man to view this manual page. Override the manual pager path with the LTTNG_MAN_BIN_PATH environment variable.
--list-options
-V, --version
EXIT STATUS¶
0
1
3
RESOURCES¶
COPYRIGHT¶
This program is part of the LTTng-tools project.
LTTng-tools is distributed under the GNU General Public License version 2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>. See the LICENSE <https://github.com/lttng/lttng-tools/blob/master/LICENSE> file for details.
THANKS¶
Special thanks to Michel Dagenais and the DORSAL laboratory <http://www.dorsal.polymtl.ca/> 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.
SEE ALSO¶
14 June 2021 | LTTng 2.13.11 |