LTTNG-CRASH(1) | LTTng Manual | LTTNG-CRASH(1) |
lttng-crash - Recover and view LTTng 2 trace buffers in the event of a crash
lttng-crash [--extract=PATH | --viewer=VIEWER] [-v | -vv | -vvv] SHMDIR
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 is used to recover and view 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 option
SHMDIR is the directory specified as the argument of the --shm-path option of the lttng-create(1) command used to create the tracing session for which to recover the traces.
-x PATH, --extract=PATH
-v, --verbose
Three levels of verbosity are available, which are triggered by appending additional v letters to the option (that is, -vv and -vvv).
-e VIEWER, --viewer=VIEWER
Without this option, lttng crash uses babeltrace2(1) if it’s available. Otherwise, it tries to use babeltrace(1).
-h, --help
-V, --version
0
1
3
If you encounter any issue or usability problem, please report it on the LTTng bug tracker <https://bugs.lttng.org/projects/lttng-tools>.
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.
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.
lttng(1), lttng-sessiond(8), lttng-relayd(8), lttng-ust(3), babeltrace2(1)
2 April 2020 | LTTng 2.12.3 |