lttng-disable-event(1)
======================
-:revdate: 17 May 2021
+:revdate: 14 June 2021
NAME
[verse]
*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *disable-event*
- (option:--userspace | option:--jul | option:--log4j | option:--python) [option:--tracepoint]
+ (option:--userspace | option:--jul | option:--log4j | option:--log4j2 |option:--python) [option:--tracepoint]
(option:--all-events | 'NAME'[,'NAME']...)
[option:--session='SESSION'] [option:--channel='CHANNEL']
command which belong to:
With the option:--session='SESSION' option::
- The tracing session named 'SESSION'.
+ The recording session named 'SESSION'.
Without the option:--session option::
- The current tracing session (see man:lttng-concepts(7) to learn more
- about the current tracing session).
+ The current recording session (see man:lttng-concepts(7) to learn
+ more about the current recording session).
With the option:--channel='CHANNEL' option::
The channel named 'CHANNEL'.
Without the option:--channel option::
The channel named `channel0`.
++
+If there's more than one channel for the selected recording session and
+domain, the `disable-event` command fails.
See man:lttng-concepts(7) to learn more about recording event rules.
kernel recording event rules regardless of their instrumentation point
type.
-List the recording event rules of a given tracing session
+List the recording event rules of a given recording session
and/or channel with the man:lttng-list(1) command.
Without the option:--all-events option, the `disable-event` command
man:lttng-list(1)).
You may disable an enabled recording event rule regardless of the
-activity (started or stopped) of its tracing session (see
+activity (started or stopped) of its recording session (see
man:lttng-start(1) and man:lttng-stop(1)).
-See the <<examples,EXAMPLES>> section below for usage examples.
+See the ``<<examples,EXAMPLES>>'' section below for usage examples.
include::common-lttng-cmd-options-head.txt[]
Disable recording event rules in the Linux kernel domain.
option:-l, option:--log4j::
- Disable recording event rules in the Apache log4j domain.
+ Disable recording event rules in the Apache Log4j 1.x domain.
+
+option:--log4j2::
+ Disable recording event rules in the Apache Log4j 2 domain.
option:-p, option:--python::
Disable recording event rules in the Python domain.
'CHANNEL' instead of `channel0`.
option:-s 'SESSION', option:--session='SESSION'::
- Disable recording event rules in the tracing session named 'SESSION'
- instead of the current tracing session.
+ Disable recording event rules in the recording session named
+ 'SESSION' instead of the current recording session.
Instrumentation point type condition
--
With the option:--kernel or option:--userspace option:::
LTTng tracepoint events.
-With the option:--jul, option:--log4j, or option:--python option:::
+With the option:--jul, option:--log4j, option:--log4j2, or option:--python option:::
Logging events.
--
[[examples]]
EXAMPLES
--------
-.Disable all Linux kernel tracepoint recording event rules in the default channel of the current tracing session.
+.Disable all Linux kernel tracepoint recording event rules in the default channel of the current recording session.
====
See the option:--all-events option.
----
====
-.Disable specific Apache log4j recording event rules in the default channel of a specific tracing session.
+.Disable specific Apache Log4j 1.x recording event rules in the default channel of a specific recording session.
====
See the option:--session option.
----
====
-.Disable all user space recording event rules in a specific channel of the current tracing session.
+.Disable all user space recording event rules in a specific channel of the current recording session.
====
See the option:--channel option.
----
====
-.Disable specific Linux kernel system call recording event rules in the default channel of the current tracing session.
+.Disable specific Linux kernel system call recording event rules in the default channel of the current recording session.
====
[role="term"]
----