7 lttng-untrack - Remove one or more property values from an LTTng process tracker
13 Untrack processes for Linux kernel channels:
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]
24 Untrack processes for user space channels:
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]
35 The `lttng untrack` commands removes one or more property values from an
36 LTTng process tracker.
38 See man:lttng-track(1) to learn more about LTTng process trackers.
40 The `lttng untrack` command removes specific property values from a
41 process tracker's whitelist. The property values to remove must have
42 been precedently added by man:lttng-track(1). It is also possible to
43 remove all the values of a given property from the whitelist with the
44 option:--all option following the specific property option.
46 The available process properties are:
49 Process ID as seen by the Linux kernel (root namespace).
52 User ID or name as seen by the Linux kernel (root namespace).
55 Group ID or name as seen by the Linux kernel (root namespace).
58 Process ID as seen by the traced process.
61 User ID or name as seen by the traced process.
64 Group ID or name as seen by the traced process.
67 Understanding the whitelist
68 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 One common operation is to create a tracing session (see
70 man:lttng-create(1)), remove all the process ID property values from the
71 process tracker whitelist, start tracing, and then manually track
72 processes with a given PID while tracing is active.
74 Assume the maximum system PID is 7 for this example.
85 -------------------------------
86 [0] [1] [2] [3] [4] [5] [6] [7]
87 -------------------------------
93 $ lttng untrack --kernel --pid --all
98 -------------------------------
99 [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
100 -------------------------------
106 $ lttng enable-event --kernel ...
109 $ lttng track --kernel --pid=3,5
114 -------------------------------
115 [ ] [ ] [ ] [3] [ ] [5] [ ] [ ]
116 -------------------------------
122 $ lttng track --kernel --pid=2
127 -------------------------------
128 [ ] [ ] [2] [3] [ ] [5] [ ] [ ]
129 -------------------------------
132 include::common-cmd-options-head.txt[]
139 option:-k, option:--kernel::
140 Untrack processes for Linux kernel channels.
142 option:-u, option:--userspace::
143 Untrack processes for user space channels.
148 option:-s, option:--session='SESSION'::
149 Untrack processes in the tracing session named 'SESSION' instead of
150 the current tracing session.
155 option:-a, option:--all::
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.
160 option:--pid[='PID'[,'PID']...]::
161 Remove process ID 'PID', as seen by the Linux kernel (root
162 namespace), from the tracker's whitelist.
164 option:--uid[='USER'[,'USER']...]::
165 Remove user ID or name 'USER', as seen by the Linux kernel (root
166 namespace), from the tracker's whitelist.
168 option:--gid[='GROUP'[,'GROUP']...]::
169 Remove group ID or name 'GROUP', as seen by the Linux kernel (root
170 namespace), from the tracker's whitelist.
172 option:--vpid[='PID'[,'PID']...]::
173 Remove process ID 'VPID', as seen by the traced process, from the
176 option:--vuid[='USER'[,'USER']...]::
177 Remove user ID or name 'USER', as seen by the traced process, from
178 the tracker's whitelist.
180 option:--vgid[='GROUP'[,'GROUP']...]::
181 Remove group ID or name 'GROUP', as seen by the traced process, from
182 the tracker's whitelist.
185 include::common-cmd-help-options.txt[]
188 include::common-cmd-footer.txt[]