X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Faction-executor.h;h=85d5931fedb9fa09188652d0646036f9fc9d08da;hp=e01a37773ac7ccb6c49c7009748f09c5f6cfd796;hb=eb2827a4f0ccc637bf1d42edebf2607dbea80428;hpb=d1ba29d290281cf72ca3ec7b0222b336c747e925 diff --git a/src/bin/lttng-sessiond/action-executor.h b/src/bin/lttng-sessiond/action-executor.h index e01a37773..85d5931fe 100644 --- a/src/bin/lttng-sessiond/action-executor.h +++ b/src/bin/lttng-sessiond/action-executor.h @@ -27,7 +27,17 @@ struct action_executor *action_executor_create( void action_executor_destroy(struct action_executor *executor); -enum action_executor_status action_executor_enqueue( +/* + * 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_trigger( struct action_executor *executor, struct lttng_trigger *trigger, struct lttng_evaluation *evaluation,