Searched refs:test_pmu (Results 1 – 2 of 2) sorted by relevance
461 struct perf_pmu test_pmu = { in test__pmu_match() local466 TEST_ASSERT_EQUAL(msg, perf_pmu__wildcard_match(&test_pmu, to_match), expect) in test__pmu_match()472 test_pmu.name = "pmuname_10"; in test__pmu_match()480 test_pmu.name = "pmuname_ab23"; in test__pmu_match()488 test_pmu.name = "pmuname10"; in test__pmu_match()496 test_pmu.name = "pmunameab23"; in test__pmu_match()509 test_pmu.name = "pmuname_a3"; in test__pmu_match()524 test_pmu.name = "pmuname_5"; in test__pmu_match()
552 static int __test_uncore_pmu_event_aliases(struct perf_pmu_test_pmu *test_pmu) in __test_uncore_pmu_event_aliases() argument568 if (perf_pmu__init(pmu, PERF_PMU_TYPE_FAKE, test_pmu->pmu_name) != 0) { in __test_uncore_pmu_event_aliases()572 pmu->is_uncore = test_pmu->pmu_is_uncore; in __test_uncore_pmu_event_aliases()573 if (test_pmu->pmu_id) { in __test_uncore_pmu_event_aliases()574 pmu->id = strdup(test_pmu->pmu_id); in __test_uncore_pmu_event_aliases()590 for (table = &test_pmu->aliases[0]; *table; table++) in __test_uncore_pmu_event_aliases()600 for (table = &test_pmu->aliases[0]; *table; table++) { in __test_uncore_pmu_event_aliases()