sessiond: docs: document action_executor_enqueue() parameter ownership
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 11 Feb 2021 16:37:33 +0000 (11:37 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 11 Feb 2021 16:37:33 +0000 (11:37 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Iab668825a7b529e4212aa39080e152628c07a363

src/bin/lttng-sessiond/action-executor.h

index e01a37773ac7ccb6c49c7009748f09c5f6cfd796..945b9b325f0fbac9aa6b31c059b9707bff508f4d 100644 (file)
@@ -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,
This page took 0.027185 seconds and 4 git commands to generate.