Rename "tracing session" -> "recording session"
[lttng-tools.git] / doc / man / lttng-list.1.txt
CommitLineData
882108c6
PP
1lttng-list(1)
2=============
e9711845 3:revdate: 14 June 2021
882108c6
PP
4
5
6NAME
7----
e9711845 8lttng-list - List LTTng recording sessions and instrumentation points
882108c6
PP
9
10
11SYNOPSIS
12--------
e9711845 13List the recording sessions:
882108c6
PP
14
15[verse]
ce19b9ed 16*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list*
882108c6 17
e9711845
PP
18List the tracing domains of a recording session with at least one
19channel:
882108c6
PP
20
21[verse]
26f0c779 22*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list* option:--domain 'SESSION'
882108c6 23
e9711845 24List the channels and recording event rules of a recording session:
882108c6
PP
25
26[verse]
26f0c779
PP
27*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list* [option:--channel='CHANNEL'] 'SESSION'
28 [option:--kernel] [option:--userspace] [option:--jul] [option:--log4j] [option:--python]
882108c6 29
26f0c779
PP
30List the available LTTng tracepoints, Linux system calls, and/or
31Java/Python loggers:
882108c6
PP
32
33[verse]
26f0c779
PP
34*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list* [option:--fields]
35 [option:--kernel [option:--syscall]] [option:--userspace] [option:--jul] [option:--log4j] [option:--python]
882108c6
PP
36
37
38DESCRIPTION
39-----------
26f0c779
PP
40The `lttng list` command lists:
41
42Without arguments::
e9711845 43 The recording sessions of your Unix user, or of all users
26f0c779
PP
44 if your Unix user is `root`, within the connected session daemon.
45+
46See the ``Session daemon connection'' section of man:lttng(1) to learn
47how a user application connects to a session daemon.
48+
e9711845 49The command shows recording session properties such as their output
26f0c779
PP
50directories/URLs and whether or not they're active.
51
52With the 'SESSION' argument::
53 With the option:--domain option:::
e9711845 54 The tracing domains (with at least one channel) of the recording
26f0c779
PP
55 session named 'SESSION'.
56
57 Without the option:--domain option:::
58 With the option:--channel='CHANNEL' option::::
59 The recording event rules of the channel 'CHANNEL' of the
e9711845 60 recording session named 'SESSION'.
26f0c779
PP
61
62 Without the option:--channel option::::
e9711845 63 The channels of the recording session named 'SESSION' and
26f0c779
PP
64 their recording event rules.
65+
66Use the dedicated tracing domain options (option:--kernel,
67option:--userspace, option:--jul, option:--log4j, and option:--python)
68to only show specific channels.
69
70Without the 'SESSION' argument and with at least one dedicated tracing domain option::
71+
72--
73With the option:--kernel option::
74 Without the option:--syscall option:::
75 The available LTTng kernel tracepoints.
76 With the option:--syscall option:::
77 The available, instrumented Linux system calls.
78With the option:--userspace option::
79 The available LTTng user space tracepoints.
80With the option:--jul, option:--log4j, and/or option:--python options::
81 The available `java.util.logging`, Apache log4j, and/or Python
82 logger names.
83--
84+
85Also list the available instrumentation point fields with the
86option:--fields option.
87
e9711845 88See man:lttng-concept(7) to learn more about recording sessions, tracing
26f0c779
PP
89domains, channels, recording event rules, and instrumentation points.
90
da39b67c 91See the ``<<examples,EXAMPLES>>'' section below for usage examples.
ac1c08bf 92
e9711845 93List the channels and recording event rules of the current recording
26f0c779
PP
94session (see man:lttng-concept(7) to learn more) with the
95man:lttng-status(1) command.
882108c6
PP
96
97
f5511eea 98include::common-lttng-cmd-options-head.txt[]
882108c6
PP
99
100
26f0c779
PP
101Tracing domain
102~~~~~~~~~~~~~~
882108c6 103option:-j, option:--jul::
26f0c779
PP
104 Without the 'SESSION' argument:::
105 List the `java.util.logging` logger names.
106 With the 'SESSION' argument:::
107 Only list the `java.util.logging` channels and their recording
108 event rules.
882108c6
PP
109
110option:-k, option:--kernel::
26f0c779
PP
111 Without the 'SESSION' argument:::
112 List the LTTng kernel instrumentation points.
113 With the 'SESSION' argument:::
114 Only list the Linux kernel channels and their recording event
115 rules.
882108c6
PP
116
117option:-l, option:--log4j::
26f0c779
PP
118 Without the 'SESSION' argument:::
119 List the Apache log4j logger names.
120 With the 'SESSION' argument:::
121 Only list the Apache log4j channels and their recording event
122 rules.
882108c6
PP
123
124option:-p, option:--python::
26f0c779
PP
125 Without the 'SESSION' argument:::
126 List the Python logger names.
127 With the 'SESSION' argument:::
128 Only list the Python channels and their recording event rules.
882108c6
PP
129
130option:-u, option:--userspace::
26f0c779
PP
131 Without the 'SESSION' argument:::
132 List the LTTng user space tracepoints.
133 With the 'SESSION' argument:::
134 Only list the user space channels and their recording event
135 rules.
882108c6
PP
136
137
26f0c779
PP
138Filtering
139~~~~~~~~~
59b19c3c 140option:-c 'CHANNEL', option:--channel='CHANNEL'::
26f0c779
PP
141 Only list the properties and recording event rules of the channel
142 named 'CHANNEL'.
143+
144Only available with the 'SESSION' argument.
882108c6 145
882108c6 146option:-d, option:--domain::
e9711845 147 Show the tracing domains with at least one channel of the recording
26f0c779 148 session named 'SESSION'.
882108c6
PP
149
150option:-f, option:--fields::
26f0c779
PP
151 When listing instrumentation points, also show their fields if
152 they're available.
882108c6
PP
153
154option:--syscall::
26f0c779
PP
155 When listing LTTng kernel instrumentation points, only list Linux
156 system calls.
882108c6
PP
157
158
f5511eea 159include::common-lttng-cmd-help-options.txt[]
882108c6
PP
160
161
f5511eea
PP
162include::common-lttng-cmd-after-options.txt[]
163
164
ac1c08bf
PP
165[[examples]]
166EXAMPLES
167--------
e9711845 168.List the recording sessions.
ac1c08bf
PP
169====
170[role="term"]
171----
172$ lttng list
173----
174====
175
e9711845 176.Show the details of a specific recording session.
ac1c08bf
PP
177====
178[role="term"]
179----
180$ lttng list my-session
181----
182====
183
184.List the available Linux kernel system call instrumentation points.
185====
186[role="term"]
187----
188$ lttng list --kernel --syscall
189----
190====
191
192.List the available user space tracepoints with their fields.
193====
194See the option:--fields option.
195
196[role="term"]
197----
198$ lttng list --userspace --fields
199----
200====
201
e9711845 202.List the tracing domains of a specific recording session having at least one channel.
ac1c08bf
PP
203====
204See the option:--domain option.
205
206[role="term"]
207----
208$ lttng list --domain my-session
209----
210====
211
e9711845 212.Show the details of a specific channel in a specific recording session.
ac1c08bf
PP
213====
214See the option:--channel option.
215
216[role="term"]
217----
218$ lttng list my-session --channel=channel0
219----
220====
221
222
f5511eea 223include::common-footer.txt[]
882108c6
PP
224
225
226SEE ALSO
227--------
26f0c779
PP
228man:lttng(1),
229man:lttng-concepts(7)
This page took 0.041193 seconds and 4 git commands to generate.