event-rule: userspace probe: rename get/set_name to get/set_event_name
[lttng-tools.git] / tests / unit / test_event_rule.c
index 49aade24d8bf184a8b457f7d5515f0bc4760c91d..b92a10aac0b6e1a23814b742b2f8ca3490f11c7e 100644 (file)
@@ -276,10 +276,10 @@ static void test_event_rule_userspace_probe(void)
                           probe_location, probe_location_tmp),
                        "Location is equal.");
 
-       status = lttng_event_rule_userspace_probe_set_name(uprobe, probe_name);
+       status = lttng_event_rule_userspace_probe_set_event_name(uprobe, probe_name);
        ok(status == LTTNG_EVENT_RULE_STATUS_OK,
                        "Setting uprobe event rule name: %s.", probe_name);
-       status = lttng_event_rule_userspace_probe_get_name(uprobe, &tmp);
+       status = lttng_event_rule_userspace_probe_get_event_name(uprobe, &tmp);
        ok(status == LTTNG_EVENT_RULE_STATUS_OK, "Getting uprobe name.");
        ok(!strcmp(probe_name, tmp), "Uprobe name are equal.");
 
This page took 0.029987 seconds and 4 git commands to generate.