Backport: lttng-track(1), lttng-untrack(1): document new properties/options
[lttng-tools.git] / doc / man / lttng-untrack.1.txt
CommitLineData
882443a6
PP
1lttng-untrack(1)
2================
3
4
5NAME
6----
69641e79 7lttng-untrack - Remove one or more property values from an LTTng process tracker
882443a6
PP
8
9
10SYNOPSIS
11--------
12[verse]
69641e79
PP
13Untrack processes for Linux kernel channels:
14
15[verse]
16*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *untrack* option:--kernel [option:--session='SESSION']
17 [option:--pid='PID'[,'PID']... | option:--pid option:--all]
18 [option:--vpid='PID'[,'PID']... | option:--vpid option:--all]
19 [option:--uid='USER'[,'USER']... | option:--uid option:--all]
20 [option:--vuid='USER'[,'USER']... | option:--vuid option:--all]
21 [option:--gid='GROUP'[,'GROUP']... | option:--gid option:--all]
22 [option:--vgid='GROUP'[,'GROUP']... | option:--vgid option:--all]
23
24Untrack processes for user space channels:
25
26[verse]
27*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *untrack* option:--userspace [option:--session='SESSION']
28 [option:--vpid='PID'[,'PID']... | option:--vpid option:--all]
29 [option:--vuid='USER'[,'USER']... | option:--vuid option:--all]
30 [option:--vgid='GROUP'[,'GROUP']... | option:--vgid option:--all]
882443a6
PP
31
32
33DESCRIPTION
34-----------
69641e79
PP
35The `lttng untrack` commands removes one or more property values from an
36LTTng process tracker.
37
38See man:lttng-track(1) to learn more about LTTng process trackers.
39
40The `lttng untrack` command removes specific property values from a
41process tracker's whitelist. The property values to remove must have
42been precedently added by man:lttng-track(1). It is also possible to
43remove all the values of a given property from the whitelist with the
44option:--all option following the specific property option.
882443a6 45
69641e79 46The available process properties are:
882443a6 47
69641e79
PP
48option:--pid::
49 Process ID as seen by the Linux kernel (root namespace).
882443a6 50
69641e79
PP
51option:--uid::
52 User ID or name as seen by the Linux kernel (root namespace).
882443a6 53
69641e79
PP
54option:--gid::
55 Group ID or name as seen by the Linux kernel (root namespace).
882443a6 56
69641e79
PP
57option:--vpid::
58 Process ID as seen by the traced process.
59
60option:--vuid::
61 User ID or name as seen by the traced process.
62
63option:--vgid::
64 Group ID or name as seen by the traced process.
65
66
67Understanding the whitelist
68~~~~~~~~~~~~~~~~~~~~~~~~~~~
69One common operation is to create a tracing session (see
70man:lttng-create(1)), remove all the process ID property values from the
71process tracker whitelist, start tracing, and then manually track
72processes with a given PID while tracing is active.
882443a6
PP
73
74Assume the maximum system PID is 7 for this example.
75
76Command:
77
d4f093aa 78[role="term"]
69641e79
PP
79----
80$ lttng create
81----
882443a6
PP
82
83Initial whitelist:
84
85-------------------------------
86[0] [1] [2] [3] [4] [5] [6] [7]
87-------------------------------
88
89Command:
90
d4f093aa 91[role="term"]
69641e79
PP
92----
93$ lttng untrack --kernel --pid --all
94----
882443a6
PP
95
96Whitelist:
97
98-------------------------------
99[ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
100-------------------------------
101
102Commands:
103
d4f093aa 104[role="term"]
69641e79
PP
105----
106$ lttng enable-event --kernel ...
107$ lttng start
108$ # ...
109$ lttng track --kernel --pid=3,5
110----
882443a6
PP
111
112Whitelist:
113
114-------------------------------
115[ ] [ ] [ ] [3] [ ] [5] [ ] [ ]
116-------------------------------
117
118Command:
119
d4f093aa 120[role="term"]
69641e79
PP
121----
122$ lttng track --kernel --pid=2
123----
882443a6
PP
124
125Whitelist:
126
127-------------------------------
128[ ] [ ] [2] [3] [ ] [5] [ ] [ ]
129-------------------------------
130
131
132include::common-cmd-options-head.txt[]
133
134
135Domain
136~~~~~~
137One of:
138
139option:-k, option:--kernel::
69641e79 140 Untrack processes for Linux kernel channels.
882443a6
PP
141
142option:-u, option:--userspace::
69641e79 143 Untrack processes for user space channels.
882443a6
PP
144
145
146Target
147~~~~~~
148option:-s, option:--session='SESSION'::
69641e79 149 Untrack processes in the tracing session named 'SESSION' instead of
882443a6
PP
150 the current tracing session.
151
152
69641e79
PP
153Process property
154~~~~~~~~~~~~~~~~
882443a6 155option:-a, option:--all::
69641e79
PP
156 Following any of the property options below (without an option's
157 argument): remove _all_ possible values of this property from the
158 process tracker's whitelist.
159
160option:--pid[='PID'[,'PID']...]::
161 Remove process ID 'PID', as seen by the Linux kernel (root
162 namespace), from the tracker's whitelist.
163
164option:--uid[='USER'[,'USER']...]::
165 Remove user ID or name 'USER', as seen by the Linux kernel (root
166 namespace), from the tracker's whitelist.
167
168option:--gid[='GROUP'[,'GROUP']...]::
169 Remove group ID or name 'GROUP', as seen by the Linux kernel (root
170 namespace), from the tracker's whitelist.
171
172option:--vpid[='PID'[,'PID']...]::
173 Remove process ID 'VPID', as seen by the traced process, from the
174 tracker's whitelist.
175
176option:--vuid[='USER'[,'USER']...]::
177 Remove user ID or name 'USER', as seen by the traced process, from
178 the tracker's whitelist.
179
180option:--vgid[='GROUP'[,'GROUP']...]::
181 Remove group ID or name 'GROUP', as seen by the traced process, from
182 the tracker's whitelist.
882443a6
PP
183
184
185include::common-cmd-help-options.txt[]
186
187
188include::common-cmd-footer.txt[]
189
190
191SEE ALSO
192--------
7c1a4458
PP
193man:lttng-track(1),
194man:lttng(1)
This page took 0.037501 seconds and 5 git commands to generate.