From: Simon Marchi Date: Fri, 14 Feb 2020 17:42:15 +0000 (-0500) Subject: Docs: document --condition and --action in add-trigger's OPTIONS section X-Git-Tag: v2.13.0-rc1~315 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d0a70fd5ee0a88139a1aeacb78164dfab6bf4649;p=lttng-tools.git Docs: document --condition and --action in add-trigger's OPTIONS section Signed-off-by: Jérémie Galarneau Signed-off-by: Simon Marchi Change-Id: Icfedfa3986eb0788ecea42318d48233e7859fa6d Depends-on: lttng-ust: I5a800fc92e588c2a6a0e26282b0ad5f31c044479 --- diff --git a/doc/man/lttng-add-trigger.1.txt b/doc/man/lttng-add-trigger.1.txt index 17c8bd706..393e8c920 100644 --- a/doc/man/lttng-add-trigger.1.txt +++ b/doc/man/lttng-add-trigger.1.txt @@ -36,6 +36,7 @@ this mode. The syntax by which conditions and actions are specified is described below. +[[conditions]] Conditions ~~~~~~~~~~ @@ -55,6 +56,7 @@ Event rule: `on-event [event rule arguments]`:: - It is not possible to use filter operands that use values from the context. +[[actions]] Actions ~~~~~~~ @@ -97,6 +99,14 @@ Snapshot session: *snapshot-session* session-name:: OPTIONS ------- +option:--condition:: + Define the condition for the trigger. See the + <> section for more details. + +option:--action:: + Define an action for the trigger. See the <> + section for more details. + option:--id='ID':: Set the id of the trigger to 'ID'. If omitted, an id will automatically be assigned to the trigger by the session daemon.