X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fman%2Flttng-add-context.1.txt;h=237467850d1a9187d59c4037ec1d6b2abe383bf3;hb=f14111c9af633ef85f82a6b61eed47228ab2cf3a;hp=a5ca19ef551a93376479dddabf1c496a8c0ab694;hpb=26f0c7794376456fcb5b13d4eae91c0ccf0dfe66;p=lttng-tools.git diff --git a/doc/man/lttng-add-context.1.txt b/doc/man/lttng-add-context.1.txt index a5ca19ef5..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: @@ -107,7 +109,7 @@ to be recorded to the event records of a given channel once its tracing session has been started (see man:lttng-start(1)) at least once. -include::common-cmd-options-head.txt[] +include::common-lttng-cmd-options-head.txt[] Tracing domain @@ -158,14 +160,17 @@ option:-t 'TYPE', option:--type='TYPE':: Repeat this option to add more than one context field. -include::common-cmd-help-options.txt[] +include::common-lttng-cmd-help-options.txt[] + + +include::common-lttng-cmd-after-options.txt[] -include::common-cmd-footer.txt[] +include::common-footer.txt[] SEE ALSO -------- man:lttng(1), -man:lttng-concepts(7), -man:lttng-enable-channel(1) +man:lttng-enable-channel(1), +man:lttng-concepts(7)