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.
-See the <<examples,EXAMPLES>> section below for usage examples.
+See the ``<<examples,EXAMPLES>>'' section below for usage examples.
include::common-lttng-cmd-options-head.txt[]
.Add three statically-known context fields to be recorded to a specific user space channel of a specific tracing session.
====
+See the option:--session and option:--channel options.
+
[role="term"]
----
$ lttng add-context --userspace --session=my-session \
.Add a perf counter context field to be recorded to a specific Linux kernel channel of the current tracing session.
====
+See the option:--channel option.
+
[role="term"]
----
$ lttng add-context --kernel --channel=my-channel \