Rename on-event to event-rule-matches
[lttng-tools.git] / src / bin / lttng-sessiond / event.c
index c8047c3ecad83ab68e8c86878b7e588af0677fee..50d8fd028f695f81d86aecf11c4807c5043261bd 100644 (file)
@@ -601,9 +601,10 @@ int trigger_agent_enable(const struct lttng_trigger *trigger, struct agent *agt)
        condition = lttng_trigger_get_const_condition(trigger);
 
        assert(lttng_condition_get_type(condition) ==
-                       LTTNG_CONDITION_TYPE_ON_EVENT);
+                       LTTNG_CONDITION_TYPE_EVENT_RULE_MATCHES);
 
-       c_status = lttng_condition_on_event_get_rule(condition, &rule);
+       c_status = lttng_condition_event_rule_matches_get_rule(
+                       condition, &rule);
        assert(c_status == LTTNG_CONDITION_STATUS_OK);
 
        assert(lttng_event_rule_get_type(rule) ==
This page took 0.0241 seconds and 5 git commands to generate.