| 1 | lttng-disable-channel(1) |
| 2 | ======================== |
| 3 | :revdate: 21 April 2021 |
| 4 | |
| 5 | NAME |
| 6 | ---- |
| 7 | lttng-disable-channel - Disable LTTng channels |
| 8 | |
| 9 | |
| 10 | SYNOPSIS |
| 11 | -------- |
| 12 | [verse] |
| 13 | *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *disable-channel* (option:--kernel | option:--userspace) |
| 14 | [option:--session='SESSION'] 'CHANNEL'[,'CHANNEL']... |
| 15 | |
| 16 | |
| 17 | DESCRIPTION |
| 18 | ----------- |
| 19 | The `lttng disable-channel` command disables one or more channels |
| 20 | previously enabled with the man:lttng-enable-channel(1) command. |
| 21 | |
| 22 | A channel always belongs to a tracing session (see man:lttng-create(1) |
| 23 | to create a tracing session). Without the option:--session option, the |
| 24 | `disable-channel` command disables one or more channels of the current |
| 25 | tracing session (see man:lttng-create(1) and man:lttng-set-session(1) to |
| 26 | learn more about the current tracing session). |
| 27 | |
| 28 | The `disable-channel` command disables one channel per 'CHANNEL' |
| 29 | argument. |
| 30 | |
| 31 | As of LTTng{nbsp}{lttng_version}, you may :not: enable a disabled |
| 32 | channel once its tracing session has ben started (see |
| 33 | man:lttng-start(1)) at least once. |
| 34 | |
| 35 | |
| 36 | include::common-cmd-options-head.txt[] |
| 37 | |
| 38 | |
| 39 | Tracing domain |
| 40 | ~~~~~~~~~~~~~~ |
| 41 | One of: |
| 42 | |
| 43 | option:-k, option:--kernel:: |
| 44 | Disable one or more Linux kernel channels. |
| 45 | |
| 46 | option:-u, option:--userspace:: |
| 47 | Disable one or more user space channels. |
| 48 | |
| 49 | |
| 50 | Target |
| 51 | ~~~~~~ |
| 52 | option:-s 'SESSION', option:--session='SESSION':: |
| 53 | Disable one or more channels of the tracing session named 'SESSION' |
| 54 | instead of the current tracing session. |
| 55 | |
| 56 | |
| 57 | include::common-cmd-help-options.txt[] |
| 58 | |
| 59 | |
| 60 | include::common-cmd-footer.txt[] |
| 61 | |
| 62 | |
| 63 | SEE ALSO |
| 64 | -------- |
| 65 | man:lttng(1), |
| 66 | man:lttng-enable-channel(1) |