action executor: use an execution context to validate enqueued action before execution
[lttng-tools.git] / src / bin / lttng-sessiond / action-executor.h
index e01a37773ac7ccb6c49c7009748f09c5f6cfd796..85d5931fedb9fa09188652d0646036f9fc9d08da 100644 (file)
@@ -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,
This page took 0.025096 seconds and 4 git commands to generate.