lttng-load(1): fix synopsis and style
[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]
ce19b9ed 13*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *untrack* (option:--kernel | option:--userspace)
882443a6
PP
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
7c1a4458 22See man:lttng-track(1) to learn more about LTTng trackers.
882443a6
PP
23
24The untrack command removes specific resources from a tracker. The
25resources to remove must have been precedently added by
7c1a4458 26man:lttng-track(1). It is also possible to remove all the
882443a6
PP
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
7c1a4458 35(see man:lttng-create(1)), remove all the entries from the PID
882443a6
PP
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
d4f093aa 43[role="term"]
882443a6
PP
44------------
45lttng create
46------------
47
48Initial whitelist:
49
50-------------------------------
51[0] [1] [2] [3] [4] [5] [6] [7]
52-------------------------------
53
54Command:
55
d4f093aa 56[role="term"]
882443a6
PP
57-------------------------------------
58lttng untrack --userspace --pid --all
59-------------------------------------
60
61Whitelist:
62
63-------------------------------
64[ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
65-------------------------------
66
67Commands:
68
d4f093aa 69[role="term"]
882443a6
PP
70----------------------------------
71lttng enable-event --userspace ...
72lttng start
d4f093aa 73# ...
882443a6
PP
74lttng track --userspace --pid=3,5
75----------------------------------
76
77Whitelist:
78
79-------------------------------
80[ ] [ ] [ ] [3] [ ] [5] [ ] [ ]
81-------------------------------
82
83Command:
84
d4f093aa 85[role="term"]
882443a6
PP
86-------------------------------
87lttng 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, 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--------
7c1a4458
PP
139man:lttng-track(1),
140man:lttng(1)
This page took 0.02739 seconds and 4 git commands to generate.