From 6e11f3822df4bd9360792e7f4052f7dbbd974feb Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 6 May 2021 15:15:29 -0400 Subject: [PATCH] lttng-add-context(1): use a description list to explain `--channel` 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: Ie2d701820bf1e086205254c0712fe088c3295b2d --- doc/man/lttng-add-context.1.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/man/lttng-add-context.1.txt b/doc/man/lttng-add-context.1.txt index ad83445b5..237467850 100644 --- a/doc/man/lttng-add-context.1.txt +++ b/doc/man/lttng-add-context.1.txt @@ -31,7 +31,7 @@ The `lttng add-context` command can: Without the option:--list option:: Add one or more context fields to be recorded by LTTng to the event - records of a given channel, or of all the channels of: + records of: + With the option:--session='SESSION' option::: The tracing session named 'SESSION'. @@ -40,16 +40,18 @@ Without the option:--session option::: The current tracing session (see man:lttng-concepts(7) to learn more about the current tracing session). +With the option:--channel='CHANNEL'::: + The channel named 'CHANNEL'. + +Without the option:--channel option::: + *All* the channels of the selected tracing session. + With the option:--list option:: List the available context field types. See man:lttng-concepts(7) to learn more about tracing sessions and channels. -Without the option:--channel option, LTTng adds context fields to be -recorded to the event records of *all* the channels of the selected -tracing session. - Repeat the option:--type='TYPE' option to add more than one context field to be recorded. 'TYPE' is one of: -- 2.34.1