Rename on-event to event-rule-matches
[lttng-tools.git] / src / bin / lttng-sessiond / trace-kernel.c
index 382902a901ee321e5f7ec6d01ce547fe91f7d156..86cbb5e251063611acbffc709572b4498fbc1b76 100644 (file)
@@ -502,9 +502,9 @@ enum lttng_error_code trace_kernel_create_event_notifier_rule(
        assert(condition);
 
        condition_type = lttng_condition_get_type(condition);
-       assert(condition_type == LTTNG_CONDITION_TYPE_ON_EVENT);
+       assert(condition_type == LTTNG_CONDITION_TYPE_EVENT_RULE_MATCHES);
 
-       condition_status = lttng_condition_on_event_get_rule(
+       condition_status = lttng_condition_event_rule_matches_get_rule(
                        condition, &event_rule);
        assert(condition_status == LTTNG_CONDITION_STATUS_OK);
        assert(event_rule);
This page took 0.024195 seconds and 5 git commands to generate.