X-Git-Url: http://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Faction-executor.h;h=945b9b325f0fbac9aa6b31c059b9707bff508f4d;hp=e01a37773ac7ccb6c49c7009748f09c5f6cfd796;hb=f3509d2a0f1bbe1521316554aab6fec6cb48d84e;hpb=f14461318ba4a0c44bb7ed7a9c320c7d7b903052 diff --git a/src/bin/lttng-sessiond/action-executor.h b/src/bin/lttng-sessiond/action-executor.h index e01a37773..945b9b325 100644 --- a/src/bin/lttng-sessiond/action-executor.h +++ b/src/bin/lttng-sessiond/action-executor.h @@ -27,6 +27,16 @@ struct action_executor *action_executor_create( void action_executor_destroy(struct action_executor *executor); +/* + * Enqueue a job on an action executor's work queue to perform the actions + * associated with a trigger. + * + * A reference to `trigger` is acquired. + * A reference to `list` is acquired. + * + * This function assumes the ownership of the `evaluation` both on success and + * failure: the caller should no longer access it once the function returns. + */ enum action_executor_status action_executor_enqueue( struct action_executor *executor, struct lttng_trigger *trigger,