Lines Matching refs:aliases
422 struct sevent *aliases; member
437 s = &state->aliases[state->index]; in perf_pmus__print_pmu_events__callback()
460 struct sevent *aliases; in perf_pmus__print_pmu_events() local
475 aliases = zalloc(sizeof(struct sevent) * len); in perf_pmus__print_pmu_events()
476 if (!aliases) { in perf_pmus__print_pmu_events()
482 .aliases = aliases, in perf_pmus__print_pmu_events()
490 qsort(aliases, len, sizeof(struct sevent), cmp_sevent); in perf_pmus__print_pmu_events()
493 if (j < len - 1 && pmu_alias_is_duplicate(&aliases[j], &aliases[j + 1])) in perf_pmus__print_pmu_events()
497 aliases[j].pmu_name, in perf_pmus__print_pmu_events()
498 aliases[j].topic, in perf_pmus__print_pmu_events()
499 aliases[j].name, in perf_pmus__print_pmu_events()
500 aliases[j].alias, in perf_pmus__print_pmu_events()
501 aliases[j].scale_unit, in perf_pmus__print_pmu_events()
502 aliases[j].deprecated, in perf_pmus__print_pmu_events()
503 aliases[j].event_type_desc, in perf_pmus__print_pmu_events()
504 aliases[j].desc, in perf_pmus__print_pmu_events()
505 aliases[j].long_desc, in perf_pmus__print_pmu_events()
506 aliases[j].encoding_desc); in perf_pmus__print_pmu_events()
508 zfree(&aliases[j].name); in perf_pmus__print_pmu_events()
509 zfree(&aliases[j].alias); in perf_pmus__print_pmu_events()
510 zfree(&aliases[j].scale_unit); in perf_pmus__print_pmu_events()
511 zfree(&aliases[j].desc); in perf_pmus__print_pmu_events()
512 zfree(&aliases[j].long_desc); in perf_pmus__print_pmu_events()
513 zfree(&aliases[j].encoding_desc); in perf_pmus__print_pmu_events()
514 zfree(&aliases[j].topic); in perf_pmus__print_pmu_events()
515 zfree(&aliases[j].pmu_name); in perf_pmus__print_pmu_events()
516 zfree(&aliases[j].event_type_desc); in perf_pmus__print_pmu_events()
521 zfree(&aliases); in perf_pmus__print_pmu_events()