Extract synchronize tracer notifier functions
[lttng-tools.git] / src / common / evaluation.c
index 16c3ef39ca80b6a825f560619b29d3d0f7bdee71..2b06be614a73ddc788987b7ce711bf19e8cef6df 100644 (file)
@@ -10,7 +10,7 @@
 #include <lttng/condition/buffer-usage-internal.h>
 #include <lttng/condition/session-consumed-size-internal.h>
 #include <lttng/condition/session-rotation-internal.h>
-#include <lttng/condition/event-rule-internal.h>
+#include <lttng/condition/on-event-internal.h>
 #include <common/macros.h>
 #include <common/error.h>
 #include <stdbool.h>
@@ -117,12 +117,12 @@ ssize_t lttng_evaluation_create_from_payload(
                }
                evaluation_size += ret;
                break;
-       case LTTNG_CONDITION_TYPE_EVENT_RULE_HIT:
+       case LTTNG_CONDITION_TYPE_ON_EVENT:
                assert(condition);
-               assert(condition->type == LTTNG_CONDITION_TYPE_EVENT_RULE_HIT);
-               ret = lttng_evaluation_event_rule_create_from_payload(
+               assert(condition->type == LTTNG_CONDITION_TYPE_ON_EVENT);
+               ret = lttng_evaluation_on_event_create_from_payload(
                                container_of(condition,
-                                               const struct lttng_condition_event_rule,
+                                               const struct lttng_condition_on_event,
                                                parent),
                                &evaluation_view, evaluation);
                if (ret < 0) {
This page took 0.02388 seconds and 4 git commands to generate.