Fix: syscall event rule: emission sites not compared in is_equal
[lttng-tools.git] / doc / man / lttng-view.1.txt
... / ...
CommitLineData
1lttng-view(1)
2=============
3:revdate: 14 June 2021
4
5
6NAME
7----
8lttng-view - Launch an LTTng trace reader
9
10
11SYNOPSIS
12--------
13[verse]
14*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *view* [option:--viewer='READER']
15 ['SESSION' | option:--trace-path='DIR']
16
17
18DESCRIPTION
19-----------
20The `lttng view` command launches an external trace reader to read the
21current traces of:
22
23With the option:--session='SESSION' option::
24 The recording session named 'SESSION'.
25
26With the option:--trace-path='DIR' option::
27 The local file system directory 'DIR'.
28
29Otherwise::
30 The current recording session (see man:concepts(1) to learn more
31 about the current recording session).
32
33With the option:--session option or without the option:--trace-path
34option, the mode of the selected recording session may :not: be network
35streaming or live.
36
37By default, the `view` command attempts to launch man:babeltrace2(1) or,
38if it's not available, man:babeltrace(1). Override which trace reader to
39launch with the option:--viewer option.
40
41See the ``<<examples,EXAMPLES>>'' section below for usage examples.
42
43
44include::common-lttng-cmd-options-head.txt[]
45
46
47option:-t 'DIR', option:--trace-path='DIR'::
48 Pass 'DIR' as the last argument of the trace reader command instead
49 of the output directory of the selected recording session.
50
51option:-e 'READER', option:--viewer='READER'::
52 Use the trace reader 'READER' to read the traces.
53+
54'READER' is the absolute path to the reader command to use, and it can
55contain command arguments as well. The `view` command passes the trace
56directory path to read to the 'READER' command as its last argument.
57+
58Without this option, the `view` command uses man:babeltrace2(1) if it's
59available. Otherwise, it tries to use man:babeltrace(1).
60
61
62include::common-lttng-cmd-help-options.txt[]
63
64
65include::common-lttng-cmd-after-options.txt[]
66
67
68[[examples]]
69EXAMPLES
70--------
71.Read the traces of the current recording session with Babeltrace.
72====
73[role="term"]
74----
75$ lttng view
76----
77====
78
79.Read the traces of a specific recording session with a custom trace reader.
80====
81See the option:--viewer option.
82
83[role="term"]
84----
85$ lttng view --viewer='/usr/bin/my-reader -zK --details=3' \
86 my-session
87----
88====
89
90
91include::common-footer.txt[]
92
93
94SEE ALSO
95--------
96man:babeltrace2(1),
97man:lttng(1)
This page took 0.023067 seconds and 5 git commands to generate.