Rename on-event to event-rule-matches
[lttng-tools.git] / src / common / evaluation.c
index eee39ead866b8c0d2c316f0e3f820182214a5850..15e4f11ee3d6f53b2e4389fc834d619c7c5453c1 100644 (file)
@@ -117,12 +117,13 @@ ssize_t lttng_evaluation_create_from_payload(
                }
                evaluation_size += ret;
                break;
-       case LTTNG_CONDITION_TYPE_ON_EVENT:
+       case LTTNG_CONDITION_TYPE_EVENT_RULE_MATCHES:
                assert(condition);
-               assert(condition->type == LTTNG_CONDITION_TYPE_ON_EVENT);
-               ret = lttng_evaluation_on_event_create_from_payload(
+               assert(condition->type ==
+                               LTTNG_CONDITION_TYPE_EVENT_RULE_MATCHES);
+               ret = lttng_evaluation_event_rule_matches_create_from_payload(
                                container_of(condition,
-                                               const struct lttng_condition_on_event,
+                                               const struct lttng_condition_event_rule_matches,
                                                parent),
                                &evaluation_view, evaluation);
                if (ret < 0) {
This page took 0.024446 seconds and 5 git commands to generate.