Lines Matching refs:test_event
346 struct perf_pmu_test_event const *test_event, in compare_alias_to_test_event() argument
349 struct pmu_event const *event = &test_event->event; in compare_alias_to_test_event()
364 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event()
367 test_event->alias_long_desc); in compare_alias_to_test_event()
377 if (!is_same(alias->str, test_event->alias_str)) { in compare_alias_to_test_event()
379 pmu_name, alias->str, test_event->alias_str); in compare_alias_to_test_event()
383 if (!is_same(alias->long_desc, test_event->alias_long_desc)) { in compare_alias_to_test_event()
385 pmu_name, alias->str, test_event->alias_long_desc); in compare_alias_to_test_event()
389 if (!is_same(alias->pmu_name, test_event->event.pmu) && in compare_alias_to_test_event()
392 pmu_name, alias->pmu_name, test_event->event.pmu); in compare_alias_to_test_event()
413 struct perf_pmu_test_event const *test_event = *test_event_table; in test__pmu_event_table_core_callback() local
414 struct pmu_event const *event = &test_event->event; in test__pmu_event_table_core_callback()
444 struct perf_pmu_test_event const *test_event = *test_event_table; in test__pmu_event_table_sys_callback() local
445 struct pmu_event const *event = &test_event->event; in test__pmu_event_table_sys_callback()
503 struct perf_pmu_test_event const *test_event; member
511 if (compare_alias_to_test_event(alias, args->test_event, alias->pmu->name)) in test_core_pmu_event_aliases_cb()
553 struct perf_pmu_test_event test_event = **test_event_table; in __test_core_pmu_event_aliases() local
554 struct pmu_event const *event = &test_event.event; in __test_core_pmu_event_aliases()
556 .test_event = &test_event, in __test_core_pmu_event_aliases()
561 test_event.event.pmu = pmu_name; in __test_core_pmu_event_aliases()
621 struct perf_pmu_test_event test_event = **table; in __test_uncore_pmu_event_aliases() local
622 struct pmu_event const *event = &test_event.event; in __test_uncore_pmu_event_aliases()
625 .test_event = &test_event, in __test_uncore_pmu_event_aliases()
629 if (strcmp(pmu->name, test_event.matching_pmu)) { in __test_uncore_pmu_event_aliases()
631 pmu->name, test_event.matching_pmu, pmu->name); in __test_uncore_pmu_event_aliases()