lttng: Add remove-trigger command
[lttng-tools.git] / doc / man / lttng-disable-event.1.txt
CommitLineData
290294e8
PP
1lttng-disable-event(1)
2======================
4605890e 3:revdate: 28 November 2016
290294e8
PP
4
5
6NAME
7----
8lttng-disable-event - Disable LTTng event rules
9
10
11SYNOPSIS
12--------
13[verse]
ce19b9ed 14*lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *disable-event*
290294e8
PP
15 (option:--kernel [option:--probe | option:--function | option:--syscall] |
16 option:--userspace | option:--jul | option:--log4j | option:--python)
17 [option:--session='SESSION'] [option:--channel='CHANNEL']
18 (option:--all-events | 'EVENT'[,'EVENT']...)
19
20DESCRIPTION
21-----------
22The `lttng disable-event` command disables one or more event rules
7c1a4458 23previously enabled by the man:lttng-enable-event(1) command.
290294e8
PP
24
25Event rules are always assigned to a channel when they are created. If
26the option:--channel option is omitted, the default channel named
27`channel0` is used.
28
29If the option:--session option is omitted, the chosen channel is picked
30from the current tracing session.
31
32If the option:--all-events option is used, all the existing event rules
33of the chosen domain are disabled. Otherwise, at least one event rule
34to disable named 'EVENT' must be specified.
35
36With the option:--kernel option, the event source type can be specified
37using one of the option:--tracepoint, option:--probe,
38option:--function, or option:--syscall options. See
7c1a4458 39man:lttng-enable-event(1) for more details about event source
290294e8
PP
40types.
41
42Events can be disabled while tracing is active
7c1a4458 43(use man:lttng-start(1) to make a tracing session active).
290294e8
PP
44
45
46include::common-cmd-options-head.txt[]
47
48
49Domain
50~~~~~~
51One of:
52
53option:-j, option:--jul::
54 Disable event rules in the `java.util.logging` (JUL) domain.
55
56option:-k, option:--kernel::
57 Disable event rules in the Linux kernel domain.
58
59option:-l, option:--log4j::
60 Disable event rules in the Apache log4j domain.
61
62option:-p, option:--python::
63 Disable event rules in the Python domain.
64
65option:-u, option:--userspace::
66 Disable event rules in the user space domain.
67
68
69Target
70~~~~~~
59b19c3c 71option:-c 'CHANNEL', option:--channel='CHANNEL'::
290294e8
PP
72 Disable event rules in the channel named 'CHANNEL' instead
73 of the default channel name `channel0`.
74
59b19c3c 75option:-s 'SESSION', option:--session='SESSION'::
290294e8
PP
76 Disable event rules in the tracing session named 'SESSION'
77 instead of the current tracing session.
78
79
80Event source type
81~~~~~~~~~~~~~~~~~
82One of:
83
84option:--function::
85 Linux kernel kretprobe. Only available with the option:--kernel
86 domain option.
87
88option:--probe::
89 Linux kernel kprobe. Only available with the option:--kernel
90 domain option.
91
92option:--syscall::
93 Linux kernel system call. Only available with the option:--kernel
94 domain option.
95
96option:--tracepoint::
97 Linux kernel or application tracepoint. Only available
98 with the option:--kernel domain option (default Linux kernel
99 domain event source type).
100
101
102Disabling
103~~~~~~~~~
104option:-a, option:--all-events::
105 Disable all enabled event rules in the chosen tracing session,
106 tracing domain, and channel.
107
108include::common-cmd-help-options.txt[]
109
110
111include::common-cmd-footer.txt[]
112
113
114SEE ALSO
115--------
7c1a4458
PP
116man:lttng-enable-event(1),
117man:lttng(1)
This page took 0.033697 seconds and 4 git commands to generate.