From: Philippe Proulx Date: Tue, 25 May 2021 18:56:15 +0000 (-0400) Subject: lttng-{enable,disable}-event(1): document default channel limitation X-Git-Tag: v2.13.0-rc3~87 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=477f8971ee912cfb3f0c2ffb3aa2bffc81514cbe;p=lttng-tools.git lttng-{enable,disable}-event(1): document default channel limitation Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau Change-Id: I0b531be8bde9dfd74bb4a28fe70eeef5eeee7f72 --- diff --git a/doc/man/lttng-disable-event.1.txt b/doc/man/lttng-disable-event.1.txt index 8d27a46d7..9afa53c1b 100644 --- a/doc/man/lttng-disable-event.1.txt +++ b/doc/man/lttng-disable-event.1.txt @@ -47,6 +47,9 @@ With the option:--channel='CHANNEL' option:: Without the option:--channel option:: The channel named `channel0`. ++ +If there's more than one channel for the selected tracing session and +domain, the `disable-event` command fails. See man:lttng-concepts(7) to learn more about recording event rules. diff --git a/doc/man/lttng-enable-event.1.txt b/doc/man/lttng-enable-event.1.txt index b96369104..6a07fb17f 100644 --- a/doc/man/lttng-enable-event.1.txt +++ b/doc/man/lttng-enable-event.1.txt @@ -73,8 +73,9 @@ With the option:--channel='CHANNEL' option:: Without the option:--channel option:: The channel named `channel0`. + -If such a channel doesn't exist, the `enable-event` automatically -creates it. +If there's already a channel for the selected tracing session and domain +which isn't named `channel0`, the `enable-event` command fails. +Otherwise, it automatically creates it. List the recording event rules of a specific tracing session and/or channel with the man:lttng-list(1) and man:lttng-status(1)