Clean-up shm directory tree after freeing the channel
[lttng-tools.git] / doc / man / lttng-untrack.1.txt
CommitLineData
882443a6
PP
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* ['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 linklttng: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
26linklttng: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 linklttng: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------------
44lttng create
45------------
46
47Initial whitelist:
48
49-------------------------------
50[0] [1] [2] [3] [4] [5] [6] [7]
51-------------------------------
52
53Command:
54
55-------------------------------------
56lttng untrack --userspace --pid --all
57-------------------------------------
58
59Whitelist:
60
61-------------------------------
62[ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
63-------------------------------
64
65Commands:
66
67----------------------------------
68lttng enable-event --userspace ...
69lttng start
70...
71lttng track --userspace --pid=3,5
72----------------------------------
73
74Whitelist:
75
76-------------------------------
77[ ] [ ] [ ] [3] [ ] [5] [ ] [ ]
78-------------------------------
79
80Command:
81
82-------------------------------
83lttng track --userspace --pid=2
84-------------------------------
85
86Whitelist:
87
88-------------------------------
89[ ] [ ] [2] [3] [ ] [5] [ ] [ ]
90-------------------------------
91
92
93include::common-cmd-options-head.txt[]
94
95
96Domain
97~~~~~~
98One of:
99
100option:-k, option:--kernel::
101 Untrack resources tracked in the Linux kernel domain.
102
103option:-u, option:--userspace::
104 Untrack resources tracked in the user space domain.
105
106
107Target
108~~~~~~
109option:-s, option:--session='SESSION'::
110 Untrack resources in the tracing session named 'SESSION' instead of
111 the current tracing session.
112
113
114Untracking
115~~~~~~~~~~
116option:-a, option:--all::
117 Used in conjunction with an empty option:--pid option: untrack _all_
118 process IDs (clear the whitelist).
119
120option:-p, option:--pid[='PID'[,'PID']...]::
121 Untrack process IDs 'PID' (remove them from the current whitelist).
122+
123The 'PID' argument must be omitted when also using the option:--all
124option.
125
126
127include::common-cmd-help-options.txt[]
128
129
130include::common-cmd-footer.txt[]
131
132
133SEE ALSO
134--------
135linklttng:lttng-track(1),
136linklttng:lttng(1)
This page took 0.027106 seconds and 4 git commands to generate.