X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Ftrigger%2Ftrigger.h;h=de4e93d70705bbb9787eb4e2a2e3faa54d152f18;hb=2b00d46244cab86f1186a7b00cdc660f24a26f72;hp=5fef53fd415f15e69b859f48e9e1ce947f291fb9;hpb=b61776fb63d4bb14df77c0b5a15de28beed7ddfc;p=lttng-tools.git diff --git a/include/lttng/trigger/trigger.h b/include/lttng/trigger/trigger.h index 5fef53fd4..de4e93d70 100644 --- a/include/lttng/trigger/trigger.h +++ b/include/lttng/trigger/trigger.h @@ -52,6 +52,9 @@ enum lttng_trigger_firing_policy { * The caller retains the ownership of both the condition and action * and both must be kept alive for the lifetime of the trigger object. * + * If the action is a notification action with capture descriptors, + * the condition must be an event rule condition. + * * A trigger must be registered in order to become activate and can * be destroyed after its registration. *