Lines Matching full:alias
30 * be set in the alias.
372 static int compare_alias_to_test_event(struct perf_pmu_alias *alias, in compare_alias_to_test_event() argument
378 /* An alias was found, ensure everything is in order */ in compare_alias_to_test_event()
379 if (!is_same(alias->name, event->name)) { in compare_alias_to_test_event()
381 pmu_name, alias->name, event->name); in compare_alias_to_test_event()
385 if (!is_same(alias->desc, event->desc)) { in compare_alias_to_test_event()
387 pmu_name, alias->desc, event->desc); in compare_alias_to_test_event()
391 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event()
393 pmu_name, alias->long_desc, in compare_alias_to_test_event()
398 if (!is_same(alias->topic, event->topic)) { in compare_alias_to_test_event()
400 pmu_name, alias->topic, event->topic); in compare_alias_to_test_event()
404 if (!is_same(alias->str, test_event->alias_str)) { in compare_alias_to_test_event()
406 pmu_name, alias->str, test_event->alias_str); in compare_alias_to_test_event()
410 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event()
412 pmu_name, alias->str, test_event->alias_long_desc); in compare_alias_to_test_event()
417 if (!is_same(alias->pmu_name, test_event->event.pmu)) { in compare_alias_to_test_event()
419 pmu_name, alias->pmu_name, test_event->event.pmu); in compare_alias_to_test_event()
531 struct perf_pmu_alias *alias; in find_alias() local
533 list_for_each_entry(alias, aliases, list) in find_alias()
534 if (!strcmp(test_event, alias->name)) in find_alias()
535 return alias; in find_alias()
566 struct perf_pmu_alias *alias = find_alias(event->name, &aliases); in __test_core_pmu_event_aliases() local
568 if (!alias) { in __test_core_pmu_event_aliases()
569 pr_debug("testing aliases core PMU %s: no alias, alias_table->name=%s\n", in __test_core_pmu_event_aliases()
575 if (compare_alias_to_test_event(alias, test_event, pmu_name)) { in __test_core_pmu_event_aliases()
582 pmu_name, alias->name); in __test_core_pmu_event_aliases()
599 struct perf_pmu_alias *a, *tmp, *alias; in __test_uncore_pmu_event_aliases() local
611 list_for_each_entry(alias, &aliases, list) in __test_uncore_pmu_event_aliases()
625 list_for_each_entry(alias, &aliases, list) { in __test_uncore_pmu_event_aliases()
632 if (!strcmp(event->name, alias->name)) { in __test_uncore_pmu_event_aliases()
633 if (compare_alias_to_test_event(alias, in __test_uncore_pmu_event_aliases()
644 pr_debug("testing aliases uncore PMU %s: could not match alias %s\n", in __test_uncore_pmu_event_aliases()
645 pmu_name, alias->name); in __test_uncore_pmu_event_aliases()