Lines Matching refs:aliases
162 * Reading the pmu event aliases definition, which should be located at:
300 LIST_HEAD(aliases);
311 if (pmu_aliases(name, &aliases))
324 INIT_LIST_HEAD(&pmu->aliases);
326 list_splice(&aliases, &pmu->aliases);
509 list_for_each_entry(alias, &pmu->aliases, list) {
596 char **aliases;
601 list_for_each_entry(alias, &pmu->aliases, list)
603 aliases = malloc(sizeof(char *) * len);
604 if (!aliases)
609 list_for_each_entry(alias, &pmu->aliases, list) {
618 aliases[j] = name;
620 aliases[j] = format_alias_or(buf, sizeof(buf),
622 aliases[j] = strdup(aliases[j]);
626 qsort(aliases, len, sizeof(char *), cmp_string);
629 printf("%s ", aliases[j]);
632 printf(" %-50s [Kernel PMU event]\n", aliases[j]);
633 free(aliases[j]);
638 free(aliases);