Launch the timer thread using lttng_thread
[lttng-tools.git] / doc / man / lttng-untrack.1.txt
... / ...
CommitLineData
1lttng-untrack(1)
2================
3
4
5NAME
6----
7lttng-untrack - Remove one or more entries from an LTTng resource tracker
8
9
10SYNOPSIS
11--------
12[verse]
13*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *untrack* (option:--kernel | option:--userspace)
14 [option:--session='SESSION'] (option:--pid='PID'[,'PID']... | option:--all option:--pid)
15
16
17DESCRIPTION
18-----------
19The `lttng untrack` commands removes one or more entries from a
20resource tracker.
21
22See man:lttng-track(1) to learn more about LTTng trackers.
23
24The untrack command removes specific resources from a tracker. The
25resources to remove must have been precedently added by
26man:lttng-track(1). It is also possible to remove all the
27resources from the whitelist using the option:--all option.
28
29As of this version, the only available tracker is the PID tracker.
30
31
32Example
33~~~~~~~
34One common operation is to create a tracing session
35(see man:lttng-create(1)), remove all the entries from the PID
36tracker whitelist, start tracing, and then manually track PIDs
37while tracing is active.
38
39Assume the maximum system PID is 7 for this example.
40
41Command:
42
43[role="term"]
44----
45$ lttng create
46----
47
48Initial whitelist:
49
50-------------------------------
51[0] [1] [2] [3] [4] [5] [6] [7]
52-------------------------------
53
54Command:
55
56[role="term"]
57----
58$ lttng untrack --userspace --pid --all
59----
60
61Whitelist:
62
63-------------------------------
64[ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
65-------------------------------
66
67Commands:
68
69[role="term"]
70----
71$ lttng enable-event --userspace ...
72$ lttng start
73$ # ...
74$ lttng track --userspace --pid=3,5
75----
76
77Whitelist:
78
79-------------------------------
80[ ] [ ] [ ] [3] [ ] [5] [ ] [ ]
81-------------------------------
82
83Command:
84
85[role="term"]
86----
87$ lttng track --userspace --pid=2
88----
89
90Whitelist:
91
92-------------------------------
93[ ] [ ] [2] [3] [ ] [5] [ ] [ ]
94-------------------------------
95
96
97include::common-cmd-options-head.txt[]
98
99
100Domain
101~~~~~~
102One of:
103
104option:-k, option:--kernel::
105 Untrack resources tracked in the Linux kernel domain.
106
107option:-u, option:--userspace::
108 Untrack resources tracked in the user space domain.
109
110
111Target
112~~~~~~
113option:-s, option:--session='SESSION'::
114 Untrack resources in the tracing session named 'SESSION' instead of
115 the current tracing session.
116
117
118Untracking
119~~~~~~~~~~
120option:-a, option:--all::
121 Used in conjunction with an empty option:--pid option: untrack _all_
122 process IDs (clear the whitelist).
123
124option:-p ['PID'[,'PID']...], option:--pid[='PID'[,'PID']...]::
125 Untrack process IDs 'PID' (remove them from the current whitelist).
126+
127The 'PID' argument must be omitted when also using the option:--all
128option.
129
130
131include::common-cmd-help-options.txt[]
132
133
134include::common-cmd-footer.txt[]
135
136
137SEE ALSO
138--------
139man:lttng-track(1),
140man:lttng(1)
This page took 0.023583 seconds and 4 git commands to generate.