#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/event-rule-matches-internal.h>
#include <common/macros.h>
#include <common/error.h>
#include <stdbool.h>
}
evaluation_size += ret;
break;
- case LTTNG_CONDITION_TYPE_EVENT_RULE_HIT:
+ case LTTNG_CONDITION_TYPE_EVENT_RULE_MATCHES:
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_EVENT_RULE_MATCHES);
+ ret = lttng_evaluation_event_rule_matches_create_from_payload(
container_of(condition,
- const struct lttng_condition_event_rule,
+ const struct lttng_condition_event_rule_matches,
parent),
&evaluation_view, evaluation);
if (ret < 0) {