From 477f8971ee912cfb3f0c2ffb3aa2bffc81514cbe Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 25 May 2021 14:56:15 -0400 Subject: [PATCH] lttng-{enable,disable}-event(1): document default channel limitation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau Change-Id: I0b531be8bde9dfd74bb4a28fe70eeef5eeee7f72 --- doc/man/lttng-disable-event.1.txt | 3 +++ doc/man/lttng-enable-event.1.txt | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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) -- 2.34.1