Lines Matching defs:alias
2594 static bool test_alias(char **event, char **alias)
2616 snprintf(path, PATH_MAX, "%s/bus/event_source/devices/%s/alias",
2636 *alias = strdup(buf);
2639 if (*event == NULL || *alias == NULL) {
2641 free(*alias);
2662 static int test__pmu_events_alias(char *event, char *alias)
2668 event, alias);
2677 char *event, *alias;
2680 if (!test_alias(&event, &alias))
2683 ret = test__pmu_events_alias(event, alias);
2686 free(alias);
2721 TEST_CASE_REASON("Parsing of aliased events from sysfs", alias,