• Home
  • Raw
  • Download

Lines Matching full:aliases

475  * Reading the pmu event aliases definition, which should be located at:
513 * which we don't want for implicit terms in aliases. in pmu_alias_terms()
723 * Match more complex aliases where the alias name is a comma-delimited in pmu_uncore_alias_match()
747 * as aliases.
755 * Found a matching PMU events table. Create aliases in pmu_add_cpu_aliases_map()
822 LIST_HEAD(aliases); in pmu_lookup()
839 if (pmu_aliases(name, &aliases)) in pmu_lookup()
851 pmu_add_cpu_aliases(&aliases, pmu); in pmu_lookup()
854 INIT_LIST_HEAD(&pmu->aliases); in pmu_lookup()
857 list_splice(&aliases, &pmu->aliases); in pmu_lookup()
1237 list_for_each_entry(alias, &pmu->aliases, list) { in pmu_find_alias()
1315 * if no unit or scale foundin aliases, then in perf_pmu__check_alias()
1475 struct sevent *aliases; in print_pmu_events() local
1483 list_for_each_entry(alias, &pmu->aliases, list) in print_pmu_events()
1488 aliases = zalloc(sizeof(struct sevent) * len); in print_pmu_events()
1489 if (!aliases) in print_pmu_events()
1494 list_for_each_entry(alias, &pmu->aliases, list) { in print_pmu_events()
1513 aliases[j].name = name; in print_pmu_events()
1515 aliases[j].name = format_alias_or(buf, in print_pmu_events()
1518 aliases[j].name = strdup(aliases[j].name); in print_pmu_events()
1519 if (!aliases[j].name) in print_pmu_events()
1522 aliases[j].desc = long_desc ? alias->long_desc : in print_pmu_events()
1524 aliases[j].topic = alias->topic; in print_pmu_events()
1525 aliases[j].str = alias->str; in print_pmu_events()
1526 aliases[j].pmu = pmu->name; in print_pmu_events()
1527 aliases[j].metric_expr = alias->metric_expr; in print_pmu_events()
1528 aliases[j].metric_name = alias->metric_name; in print_pmu_events()
1529 aliases[j].is_cpu = is_cpu; in print_pmu_events()
1537 aliases[j].name = s; in print_pmu_events()
1542 qsort(aliases, len, sizeof(struct sevent), cmp_sevent); in print_pmu_events()
1545 if (j > 0 && !strcmp(aliases[j].name, aliases[j - 1].name)) in print_pmu_events()
1548 printf("%s ", aliases[j].name); in print_pmu_events()
1551 if (aliases[j].desc && !quiet_flag) { in print_pmu_events()
1554 if (aliases[j].topic && (!topic || in print_pmu_events()
1555 strcmp(topic, aliases[j].topic))) { in print_pmu_events()
1557 aliases[j].topic); in print_pmu_events()
1558 topic = aliases[j].topic; in print_pmu_events()
1560 printf(" %-50s\n", aliases[j].name); in print_pmu_events()
1562 wordwrap(aliases[j].desc, 8, columns, 0); in print_pmu_events()
1565 printf("%*s%s/%s/ ", 8, "", aliases[j].pmu, aliases[j].str); in print_pmu_events()
1566 if (aliases[j].metric_name) in print_pmu_events()
1567 printf(" MetricName: %s", aliases[j].metric_name); in print_pmu_events()
1568 if (aliases[j].metric_expr) in print_pmu_events()
1569 printf(" MetricExpr: %s", aliases[j].metric_expr); in print_pmu_events()
1573 printf(" %-50s [Kernel PMU event]\n", aliases[j].name); in print_pmu_events()
1580 zfree(&aliases[j].name); in print_pmu_events()
1581 zfree(&aliases); in print_pmu_events()
1586 if (aliases) in print_pmu_events()
1599 list_for_each_entry(alias, &pmu->aliases, list) in pmu_have_event()