X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Ftrigger%2Ftrigger.h;h=de4e93d70705bbb9787eb4e2a2e3faa54d152f18;hp=5fef53fd415f15e69b859f48e9e1ce947f291fb9;hb=381140130b556bdccc8c7a45d843dcd34c6d7b8f;hpb=48c475643635d97d56fc251ca0b54e67ff25a51f 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. *