8 lttng-crash - Recover and view LTTng 2 trace buffers in the event of a crash
14 *lttng-crash* [option:--extract='PATH' | option:--viewer='VIEWER'] [option:-v | option:-vv | option:-vvv] 'SHMDIR'
19 The https://lttng.org/[_Linux Trace Toolkit: next generation_] is an open
20 source software package used for correlated tracing of the Linux kernel,
21 user applications, and user libraries.
23 LTTng consists of Linux kernel modules (for Linux kernel tracing) and
24 dynamically loaded libraries (for user application and library tracing).
26 The `lttng-crash` command-line tool is used to recover and view
27 LTTng trace buffers in the event of a system crash.
29 `lttng-crash` reads files within the directory 'SHMDIR' and does one
32 Without the option:--extract option::
33 Launches a trace reader (see the option:--viewer option) to view the
36 With the option:--extract option::
37 Extracts them as uncorrupted LTTng traces on the file system.
39 'SHMDIR' is the directory specified as the argument of the
40 nloption:--shm-path option of the man:lttng-create(1) command used to
41 create the tracing session for which to recover the traces.
46 option:-x 'PATH', option:--extract='PATH'::
47 Extract recovered traces to path 'PATH'; do not execute the trace
50 option:-v, option:--verbose::
53 Three levels of verbosity are available, which are triggered by
54 appending additional `v` letters to the option
55 (that is, `-vv` and `-vvv`).
57 option:-e 'VIEWER', option:--viewer='VIEWER'::
58 Use trace viewer 'VIEWER' to view the trace buffers. 'VIEWER' is the
59 absolute path to the viewer command to use, and it can contain
60 command arguments as well. The trace directory paths are passed to
61 the 'VIEWER' command as its last arguments.
63 Without this option, `lttng crash` uses man:babeltrace2(1) if it's
64 available. Otherwise, it tries to use man:babeltrace(1).
69 option:-h, option:--help::
72 option:-V, option:--version::
88 include::common-footer.txt[]
94 man:lttng-sessiond(8),