Lines Matching full:alias
32 * be set in the alias.
365 static int compare_alias_to_test_event(struct pmu_event_info *alias, in compare_alias_to_test_event() argument
371 /* An alias was found, ensure everything is in order */ in compare_alias_to_test_event()
372 if (!is_same(alias->name, event->name)) { in compare_alias_to_test_event()
374 pmu_name, alias->name, event->name); in compare_alias_to_test_event()
378 if (!is_same(alias->desc, event->desc)) { in compare_alias_to_test_event()
380 pmu_name, alias->desc, event->desc); in compare_alias_to_test_event()
384 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event()
386 pmu_name, alias->long_desc, in compare_alias_to_test_event()
391 if (!is_same(alias->topic, event->topic)) { in compare_alias_to_test_event()
393 pmu_name, alias->topic, event->topic); in compare_alias_to_test_event()
397 if (!is_same(alias->str, test_event->alias_str)) { in compare_alias_to_test_event()
399 pmu_name, alias->str, test_event->alias_str); in compare_alias_to_test_event()
403 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event()
405 pmu_name, alias->str, test_event->alias_long_desc); in compare_alias_to_test_event()
409 if (!is_same(alias->pmu_name, test_event->event.pmu) && in compare_alias_to_test_event()
410 !is_same(alias->pmu_name, "default_core")) { in compare_alias_to_test_event()
412 pmu_name, alias->pmu_name, test_event->event.pmu); in compare_alias_to_test_event()
527 static int test_core_pmu_event_aliases_cb(void *state, struct pmu_event_info *alias) in test_core_pmu_event_aliases_cb() argument
531 if (compare_alias_to_test_event(alias, args->test_event, alias->pmu->name)) in test_core_pmu_event_aliases_cb()
535 alias->pmu_name, alias->name); in test_core_pmu_event_aliases_cb()
643 pr_debug("testing aliases uncore PMU %s: could not match alias %s\n", in __test_uncore_pmu_event_aliases()