Rename lttng_condition_event_rule to lttng_condition_on_event
[lttng-tools.git] / src / bin / lttng-sessiond / trace-kernel.c
index 9d019752b5b98032506e873614d12bbdda7fe289..ba8ceab1d5e4c452f3bccb26662feffa5cb47ec1 100644 (file)
@@ -501,9 +501,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_EVENT_RULE_HIT);
+       assert(condition_type == LTTNG_CONDITION_TYPE_ON_EVENT);
 
-       condition_status = lttng_condition_event_rule_get_rule(
+       condition_status = lttng_condition_on_event_get_rule(
                        condition, &event_rule);
        assert(condition_status == LTTNG_CONDITION_STATUS_OK);
        assert(event_rule);
This page took 0.022788 seconds and 4 git commands to generate.