Lines Matching full:aliases

493  * Reading the pmu event aliases definition, which should be located at:
531 * which we don't want for implicit terms in aliases. in pmu_alias_terms()
766 * Match more complex aliases where the alias name is a comma-delimited in pmu_uncore_alias_match()
827 * as aliases.
934 LIST_HEAD(aliases); in pmu_lookup()
960 if (pmu_aliases(name, &aliases)) in pmu_lookup()
985 pmu_add_cpu_aliases(&aliases, pmu); in pmu_lookup()
986 pmu_add_sys_aliases(&aliases, pmu); in pmu_lookup()
989 INIT_LIST_HEAD(&pmu->aliases); in pmu_lookup()
992 list_splice(&aliases, &pmu->aliases); in pmu_lookup()
1399 list_for_each_entry(alias, &pmu->aliases, list) { in pmu_find_alias()
1477 * if no unit or scale found in aliases, then in perf_pmu__check_alias()
1660 struct sevent *aliases; in print_pmu_events() local
1668 list_for_each_entry(alias, &pmu->aliases, list) in print_pmu_events()
1673 aliases = zalloc(sizeof(struct sevent) * len); in print_pmu_events()
1674 if (!aliases) in print_pmu_events()
1684 list_for_each_entry(alias, &pmu->aliases, list) { in print_pmu_events()
1704 aliases[j].name = name; in print_pmu_events()
1706 aliases[j].name = format_alias_or(buf, in print_pmu_events()
1709 aliases[j].name = strdup(aliases[j].name); in print_pmu_events()
1710 if (!aliases[j].name) in print_pmu_events()
1713 aliases[j].desc = long_desc ? alias->long_desc : in print_pmu_events()
1715 aliases[j].topic = alias->topic; in print_pmu_events()
1716 aliases[j].str = alias->str; in print_pmu_events()
1717 aliases[j].pmu = pmu->name; in print_pmu_events()
1718 aliases[j].metric_expr = alias->metric_expr; in print_pmu_events()
1719 aliases[j].metric_name = alias->metric_name; in print_pmu_events()
1720 aliases[j].is_cpu = is_cpu; in print_pmu_events()
1728 aliases[j].name = s; in print_pmu_events()
1733 qsort(aliases, len, sizeof(struct sevent), cmp_sevent); in print_pmu_events()
1736 if (j > 0 && pmu_alias_is_duplicate(&aliases[j], &aliases[j - 1])) in print_pmu_events()
1740 printf("%s ", aliases[j].name); in print_pmu_events()
1743 if (aliases[j].desc && !quiet_flag) { in print_pmu_events()
1746 if (aliases[j].topic && (!topic || in print_pmu_events()
1747 strcmp(topic, aliases[j].topic))) { in print_pmu_events()
1749 aliases[j].topic); in print_pmu_events()
1750 topic = aliases[j].topic; in print_pmu_events()
1752 printf(" %-50s\n", aliases[j].name); in print_pmu_events()
1754 wordwrap(aliases[j].desc, 8, columns, 0); in print_pmu_events()
1757 printf("%*s%s/%s/ ", 8, "", aliases[j].pmu, aliases[j].str); in print_pmu_events()
1758 if (aliases[j].metric_name) in print_pmu_events()
1759 printf(" MetricName: %s", aliases[j].metric_name); in print_pmu_events()
1760 if (aliases[j].metric_expr) in print_pmu_events()
1761 printf(" MetricExpr: %s", aliases[j].metric_expr); in print_pmu_events()
1765 printf(" %-50s [Kernel PMU event]\n", aliases[j].name); in print_pmu_events()
1772 zfree(&aliases[j].name); in print_pmu_events()
1773 zfree(&aliases); in print_pmu_events()
1778 if (aliases) in print_pmu_events()
1791 list_for_each_entry(alias, &pmu->aliases, list) in pmu_have_event()