X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Fnotification.c;h=4d238b02c8fdc0987068ba075f684ad1aa2cf4a3;hp=f6cd908b915a425694f77231ef887bcae05087ed;hb=f27911615bc5907d61d8ea236da974090bd85d24;hpb=26e2f47b20625f4d31a8a3632720bb312fd98c27 diff --git a/tests/regression/tools/notification/notification.c b/tests/regression/tools/notification/notification.c index f6cd908b9..4d238b02c 100644 --- a/tests/regression/tools/notification/notification.c +++ b/tests/regression/tools/notification/notification.c @@ -1864,15 +1864,15 @@ static void test_kprobe_event_rule_notification( lttng_session_daemon_notification_endpoint); ok(notification_channel, "Notification channel object creation"); - event_rule = lttng_event_rule_kprobe_create(); + event_rule = lttng_event_rule_kernel_probe_create(); ok(event_rule, "kprobe event rule object creation"); - event_rule_status = lttng_event_rule_kprobe_set_location( + event_rule_status = lttng_event_rule_kernel_probe_set_location( event_rule, location); ok(event_rule_status == LTTNG_EVENT_RULE_STATUS_OK, "Setting kprobe event rule location: '%s'", symbol_name); - event_rule_status = lttng_event_rule_kprobe_set_name( + event_rule_status = lttng_event_rule_kernel_probe_set_name( event_rule, trigger_name); ok(event_rule_status == LTTNG_EVENT_RULE_STATUS_OK, "Setting kprobe event rule name: '%s'", trigger_name);