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