Searched refs:test_pmu (Results 1 – 2 of 2) sorted by relevance
551 struct perf_pmu test_pmu = { in test__pmu_match() local556 TEST_ASSERT_EQUAL(msg, perf_pmu__wildcard_match(&test_pmu, to_match), expect) in test__pmu_match()562 test_pmu.name = "pmuname_10"; in test__pmu_match()570 test_pmu.name = "pmuname_ab23"; in test__pmu_match()578 test_pmu.name = "pmuname10"; in test__pmu_match()586 test_pmu.name = "pmunameab23"; in test__pmu_match()599 test_pmu.name = "pmuname_a3"; in test__pmu_match()614 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()