1LTTNG-DISABLE-CHAN(1)            LTTng Manual            LTTNG-DISABLE-CHAN(1)
2
3
4

NAME

6       lttng-disable-channel - Disable LTTng channels
7

SYNOPSIS

9       lttng [GENERAL OPTIONS] disable-channel (--kernel | --userspace)
10             [--session=SESSION] CHANNEL[,CHANNEL]...
11

DESCRIPTION

13       The lttng disable-channel command disables one or more channels
14       previously enabled by the lttng-enable-channel(1) command.
15
16       A channel is always contained in a tracing session (see lttng-create(1)
17       for creating a tracing session). The session in which a channel is
18       disabled using lttng disable-channel can be specified using the
19       --session option. If the --session option is omitted, the current
20       tracing session is targeted.
21
22       Note that re-enabling a disabled channel once its tracing session has
23       been active at least once is currently not supported.
24

OPTIONS

26       General options are described in lttng(1).
27
28   Domain
29       One of:
30
31       -k, --kernel
32           Disable channel in the Linux kernel domain.
33
34       -u, --userspace
35           Disable channel in the user space domain.
36
37   Target
38       -s SESSION, --session=SESSION
39           Disable channels in the tracing session named SESSION instead of
40           the current tracing session.
41
42   Program information
43       -h, --help
44           Show command help.
45
46           This option, like lttng-help(1), attempts to launch /usr/bin/man to
47           view the command’s man page. The path to the man pager can be
48           overridden by the LTTNG_MAN_BIN_PATH environment variable.
49
50       --list-options
51           List available command options.
52

ENVIRONMENT VARIABLES

54       LTTNG_ABORT_ON_ERROR
55           Set to 1 to abort the process after the first error is encountered.
56
57       LTTNG_HOME
58           Overrides the $HOME environment variable. Useful when the user
59           running the commands has a non-writable home directory.
60
61       LTTNG_MAN_BIN_PATH
62           Absolute path to the man pager to use for viewing help information
63           about LTTng commands (using lttng-help(1) or lttng COMMAND --help).
64
65       LTTNG_SESSION_CONFIG_XSD_PATH
66           Path in which the session.xsd session configuration XML schema may
67           be found.
68
69       LTTNG_SESSIOND_PATH
70           Full session daemon binary path.
71
72           The --sessiond-path option has precedence over this environment
73           variable.
74
75       Note that the lttng-create(1) command can spawn an LTTng session daemon
76       automatically if none is running. See lttng-sessiond(8) for the
77       environment variables influencing the execution of the session daemon.
78

FILES

80       $LTTNG_HOME/.lttngrc
81           User LTTng runtime configuration.
82
83           This is where the per-user current tracing session is stored
84           between executions of lttng(1). The current tracing session can be
85           set with lttng-set-session(1). See lttng-create(1) for more
86           information about tracing sessions.
87
88       $LTTNG_HOME/lttng-traces
89           Default output directory of LTTng traces. This can be overridden
90           with the --output option of the lttng-create(1) command.
91
92       $LTTNG_HOME/.lttng
93           User LTTng runtime and configuration directory.
94
95       $LTTNG_HOME/.lttng/sessions
96           Default location of saved user tracing sessions (see lttng-save(1)
97           and lttng-load(1)).
98
99       /usr/local/etc/lttng/sessions
100           System-wide location of saved tracing sessions (see lttng-save(1)
101           and lttng-load(1)).
102
103           Note
104           $LTTNG_HOME defaults to $HOME when not explicitly set.
105

EXIT STATUS

107       0
108           Success
109
110       1
111           Command error
112
113       2
114           Undefined command
115
116       3
117           Fatal error
118
119       4
120           Command warning (something went wrong during the command)
121

BUGS

123       If you encounter any issue or usability problem, please report it on
124       the LTTng bug tracker <https://bugs.lttng.org/projects/lttng-tools>.
125

RESOURCES

127       ·   LTTng project website <http://lttng.org>
128
129       ·   LTTng documentation <http://lttng.org/docs>
130
131       ·   Git repositories <http://git.lttng.org>
132
133       ·   GitHub organization <http://github.com/lttng>
134
135       ·   Continuous integration <http://ci.lttng.org/>
136
137       ·   Mailing list <http://lists.lttng.org> for support and development:
138           lttng-dev@lists.lttng.org
139
140       ·   IRC channel <irc://irc.oftc.net/lttng>: #lttng on irc.oftc.net
141

COPYRIGHTS

143       This program is part of the LTTng-tools project.
144
145       LTTng-tools is distributed under the GNU General Public License version
146       2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>. See the
147       LICENSE <https://github.com/lttng/lttng-tools/blob/master/LICENSE> file
148       for details.
149

THANKS

151       Special thanks to Michel Dagenais and the DORSAL laboratory
152       <http://www.dorsal.polymtl.ca/> at École Polytechnique de Montréal for
153       the LTTng journey.
154
155       Also thanks to the Ericsson teams working on tracing which helped us
156       greatly with detailed bug reports and unusual test cases.
157

AUTHORS

159       LTTng-tools was originally written by Mathieu Desnoyers, Julien
160       Desfossez, and David Goulet. More people have since contributed to it.
161
162       LTTng-tools is currently maintained by Jérémie Galarneau
163       <mailto:jeremie.galarneau@efficios.com>.
164

SEE ALSO

166       lttng-disable-channel(1), lttng(1)
167
168
169
170LTTng 2.10.5                      07/24/2018             LTTNG-DISABLE-CHAN(1)
Impressum