Update some manual pages for LTTng-tools 2.13
[lttng-tools.git] / doc / man / lttng-disable-event.1.txt
CommitLineData
290294e8
PP
1lttng-disable-event(1)
2======================
484b2a0c 3:revdate: 21 April 2021
290294e8
PP
4
5
6NAME
7----
484b2a0c 8lttng-disable-event - Disable LTTng recording event rules
290294e8
PP
9
10
11SYNOPSIS
12--------
484b2a0c
PP
13Disable one or more recording event rules matching Linux kernel
14events:
15
16[verse]
17*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *disable-event* option:--kernel
18 [option:--tracepoint | option:--syscall | option:--probe | option:--function]
19 (option:--all-events | 'NAME'[,'NAME']...)
20 [option:--session='SESSION'] [option:--channel='CHANNEL']
21
22Disable one or more recording event rules matching user space
23tracepoint or Java/Python logging events:
24
290294e8 25[verse]
ce19b9ed 26*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *disable-event*
484b2a0c
PP
27 (option:--userspace | option:--jul | option:--log4j | option:--python) [option:--tracepoint]
28 (option:--all-events | 'NAME'[,'NAME']...)
290294e8 29 [option:--session='SESSION'] [option:--channel='CHANNEL']
484b2a0c 30
290294e8
PP
31
32DESCRIPTION
33-----------
484b2a0c
PP
34The `lttng disable-event` command disables one or more enabled recording
35event rules previously created with the man:lttng-enable-event(1)
36command.
290294e8 37
484b2a0c
PP
38As of LTTng{nbsp}{lttng_version}, the `disable-event` command can only
39find recording event rules to disable by their instrumentation point
40type and event name conditions. Therefore, you cannot disable recording
41event rules having a specific instrumentation point log level condition,
42for example.
290294e8 43
484b2a0c
PP
44List the existing recording event rules of a given tracing session
45and/or channel with the man:lttng-list(1) command.
290294e8 46
484b2a0c
PP
47Without the option:--all-events option, the `disable-event` command
48disables one recording event rule per 'NAME' argument. 'NAME' is the
49exact event name condition pattern of the recording event rule to
50disable, as listed in the output of `lttng list` (see
51man:lttng-list(1)).
290294e8 52
484b2a0c
PP
53Without the option:--channel option, the `disable-event` command selects
54the channel named `channel0`.
290294e8 55
484b2a0c
PP
56Without the option:--session option, the `disable-event` command selects
57the current tracing session (see man:lttng-create(1) and
58man:lttng-set-session(1) to learn more about the current tracing
59session).
60
61You may disable an enabled recording event rule regardless of the
62activity (started or stopped) of its tracing session (see
63man:lttng-start(1) and man:lttng-stop(1)).
290294e8
PP
64
65
66include::common-cmd-options-head.txt[]
67
68
484b2a0c
PP
69Tracing domain
70~~~~~~~~~~~~~~
290294e8
PP
71One of:
72
73option:-j, option:--jul::
484b2a0c
PP
74 Disable recording event rules in the `java.util.logging` (JUL)
75 domain.
290294e8
PP
76
77option:-k, option:--kernel::
484b2a0c 78 Disable recording event rules in the Linux kernel domain.
290294e8
PP
79
80option:-l, option:--log4j::
484b2a0c 81 Disable recording event rules in the Apache log4j domain.
290294e8
PP
82
83option:-p, option:--python::
484b2a0c 84 Disable recording event rules in the Python domain.
290294e8
PP
85
86option:-u, option:--userspace::
484b2a0c 87 Disable recording event rules in the user space tracing domain.
290294e8
PP
88
89
484b2a0c
PP
90Recording target
91~~~~~~~~~~~~~~~~
59b19c3c 92option:-c 'CHANNEL', option:--channel='CHANNEL'::
484b2a0c
PP
93 Disable recording event rules attached to the channel named
94 'CHANNEL' instead of `channel0`.
290294e8 95
59b19c3c 96option:-s 'SESSION', option:--session='SESSION'::
484b2a0c 97 Disable recording event rules in the tracing session named 'SESSION'
290294e8
PP
98 instead of the current tracing session.
99
100
484b2a0c
PP
101Instrumentation point type condition
102~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
103At most one of:
290294e8
PP
104
105option:--function::
484b2a0c
PP
106 Only disable recording event rules which match Linux kretprobe
107 events.
108+
109Only available with the option:--kernel option.
290294e8
PP
110
111option:--probe::
484b2a0c
PP
112 Only disable recording event rules which match Linux kprobe events.
113+
114Only available with the option:--kernel option.
290294e8
PP
115
116option:--syscall::
484b2a0c
PP
117 Only disable recording event rules which match Linux system call
118 events.
119+
120Only available with the option:--kernel option.
290294e8
PP
121
122option:--tracepoint::
484b2a0c
PP
123 Only disable recording event rules which match:
124+
125--
126With the option:--kernel or option:--userspace option:::
127 LTTng tracepoint events.
128With the option:--jul, option:--log4j, or option:--python option:::
129 Logging events.
130--
131+
132As of LTTng{nbsp}{lttng_version}, this is the default instrumentation
133point type condition option, but this may change in the future.
134
135
136Event name condition
137~~~~~~~~~~~~~~~~~~~~
290294e8 138option:-a, option:--all-events::
484b2a0c
PP
139 Disable recording event rules regardless of their event name
140 condition is.
141
290294e8
PP
142
143include::common-cmd-help-options.txt[]
144
145
146include::common-cmd-footer.txt[]
147
148
149SEE ALSO
150--------
484b2a0c 151man:lttng(1),
7c1a4458 152man:lttng-enable-event(1),
484b2a0c 153man:lttng-list(1)
This page took 0.038833 seconds and 4 git commands to generate.