notification: transmit originating trigger as part of evaluation
[lttng-tools.git] / src / bin / lttng-sessiond / action-executor.c
index 69bf1f1d3ff7c4a5ebf607f8f93e36d7cffd58d6..86bada257634b90a8d0ebd7dc225732602b12e48 100644 (file)
@@ -23,7 +23,7 @@
 #include <lttng/action/start-session.h>
 #include <lttng/action/stop-session.h>
 #include <lttng/condition/evaluation.h>
-#include <lttng/condition/event-rule-internal.h>
+#include <lttng/condition/on-event-internal.h>
 #include <lttng/lttng-error.h>
 #include <lttng/trigger/trigger-internal.h>
 #include <pthread.h>
@@ -197,9 +197,8 @@ static int action_executor_notify_handler(struct action_executor *executor,
                const struct lttng_action *action)
 {
        return notification_client_list_send_evaluation(work_item->client_list,
-                       lttng_trigger_get_const_condition(work_item->trigger),
+                       work_item->trigger,
                        work_item->evaluation,
-                       lttng_trigger_get_credentials(work_item->trigger),
                        work_item->object_creds.is_set ?
                                        &(work_item->object_creds.value) :
                                        NULL,
This page took 0.024223 seconds and 4 git commands to generate.