Rename on-event to event-rule-matches
[lttng-tools.git] / src / bin / lttng-sessiond / agent.c
index 4a09c3ec68c0ce390ade66dab4e7f98e04058fcd..d5184a4424da93d7a381d3b42eb457e508b0a8d1 100644 (file)
@@ -1256,9 +1256,10 @@ struct agent_event *agent_find_event_by_trigger(
        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.024331 seconds and 5 git commands to generate.