Lines Matching defs:alias
2815 static bool test_alias(char **event, char **alias)
2837 snprintf(path, PATH_MAX, "%s/bus/event_source/devices/%s/alias",
2857 *alias = strdup(buf);
2860 if (*event == NULL || *alias == NULL) {
2862 free(*alias);
2884 static int test__pmu_events_alias(char *event, char *alias)
2890 event, alias);
2899 char *event, *alias;
2902 if (!test_alias(&event, &alias))
2905 ret = test__pmu_events_alias(event, alias);
2908 free(alias);
2943 TEST_CASE_REASON("Parsing of aliased events from sysfs", alias,