Rename "tracing session" -> "recording session"
[lttng-tools.git] / doc / man / lttng-list.1.txt
CommitLineData
882108c6
PP
1lttng-list(1)
2=============
aaae4813 3:revdate: 14 June 2021
882108c6
PP
4
5
6NAME
7----
aaae4813 8lttng-list - List LTTng recording sessions and instrumentation points
882108c6
PP
9
10
11SYNOPSIS
12--------
aaae4813 13List the recording sessions:
882108c6
PP
14
15[verse]
ce19b9ed 16*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list*
882108c6 17
aaae4813
PP
18List the tracing domains of a recording session with at least one
19channel:
882108c6
PP
20
21[verse]
188419c4 22*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list* option:--domain 'SESSION'
882108c6 23
aaae4813 24List the channels and recording event rules of a recording session:
882108c6
PP
25
26[verse]
188419c4
PP
27*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *list* [option:--channel='CHANNEL'] 'SESSION'
28 [option:--kernel] [option:--userspace] [option:--jul] [option:--log4j] [option:--python]
882108c6 29
188419c4
PP
30List the available LTTng tracepoints, Linux system calls, and/or
31Java/Python loggers:
882108c6
PP
32
33[verse]
188419c4
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-----------
188419c4
PP
40The `lttng list` command lists:
41
42Without arguments::
aaae4813 43 The recording sessions of your Unix user, or of all users
188419c4
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+
aaae4813 49The command shows recording session properties such as their output
188419c4
PP
50directories/URLs and whether or not they're active.
51
52With the 'SESSION' argument::
53 With the option:--domain option:::
aaae4813 54 The tracing domains (with at least one channel) of the recording
188419c4
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
aaae4813 60 recording session named 'SESSION'.
188419c4
PP
61
62 Without the option:--channel option::::
aaae4813 63 The channels of the recording session named 'SESSION' and
188419c4
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
aaae4813 88See man:lttng-concept(7) to learn more about recording sessions, tracing
188419c4
PP
89domains, channels, recording event rules, and instrumentation points.
90
7d259724 91See the ``<<examples,EXAMPLES>>'' section below for usage examples.
296a66dc 92
aaae4813 93List the channels and recording event rules of the current recording
188419c4
PP
94session (see man:lttng-concept(7) to learn more) with the
95man:lttng-status(1) command.
882108c6
PP
96
97
55e06994 98include::common-lttng-cmd-options-head.txt[]
882108c6
PP
99
100
188419c4
PP
101Tracing domain
102~~~~~~~~~~~~~~
882108c6 103option:-j, option:--jul::
188419c4
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::
188419c4
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::
188419c4
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::
188419c4
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::
188419c4
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
188419c4
PP
138Filtering
139~~~~~~~~~
59b19c3c 140option:-c 'CHANNEL', option:--channel='CHANNEL'::
188419c4
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::
aaae4813 147 Show the tracing domains with at least one channel of the recording
188419c4 148 session named 'SESSION'.
882108c6
PP
149
150option:-f, option:--fields::
188419c4
PP
151 When listing instrumentation points, also show their fields if
152 they're available.
882108c6
PP
153
154option:--syscall::
188419c4
PP
155 When listing LTTng kernel instrumentation points, only list Linux
156 system calls.
882108c6
PP
157
158
55e06994 159include::common-lttng-cmd-help-options.txt[]
882108c6
PP
160
161
55e06994
PP
162include::common-lttng-cmd-after-options.txt[]
163
164
296a66dc
PP
165[[examples]]
166EXAMPLES
167--------
aaae4813 168.List the recording sessions.
296a66dc
PP
169====
170[role="term"]
171----
172$ lttng list
173----
174====
175
aaae4813 176.Show the details of a specific recording session.
296a66dc
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
aaae4813 202.List the tracing domains of a specific recording session having at least one channel.
296a66dc
PP
203====
204See the option:--domain option.
205
206[role="term"]
207----
208$ lttng list --domain my-session
209----
210====
211
aaae4813 212.Show the details of a specific channel in a specific recording session.
296a66dc
PP
213====
214See the option:--channel option.
215
216[role="term"]
217----
218$ lttng list my-session --channel=channel0
219----
220====
221
222
55e06994 223include::common-footer.txt[]
882108c6
PP
224
225
226SEE ALSO
227--------
188419c4
PP
228man:lttng(1),
229man:lttng-concepts(7)
This page took 0.057288 seconds and 5 git commands to generate.