Home
last modified time | relevance | path

Searched refs:test_pmu (Results 1 – 2 of 2) sorted by relevance

/linux/tools/perf/tests/
A Dpmu.c461 struct perf_pmu test_pmu = { in test__pmu_match() local
469 test_pmu.name = "pmuname_10"; in test__pmu_match()
477 test_pmu.name = "pmuname_ab23"; in test__pmu_match()
485 test_pmu.name = "pmuname10"; in test__pmu_match()
487 TEST_ASSERT_EQUAL("Sub suffix", perf_pmu__match(&test_pmu, "pmuname1"), true); in test__pmu_match()
493 test_pmu.name = "pmunameab23"; in test__pmu_match()
506 test_pmu.name = "pmuname_a3"; in test__pmu_match()
521 test_pmu.name = "pmuname_5"; in test__pmu_match()
522 TEST_ASSERT_EQUAL("Glob 1", perf_pmu__match(&test_pmu, "pmu*"), true); in test__pmu_match()
523 TEST_ASSERT_EQUAL("Glob 2", perf_pmu__match(&test_pmu, "nomatch*"), false); in test__pmu_match()
[all …]
A Dpmu-events.c593 static int __test_uncore_pmu_event_aliases(struct perf_pmu_test_pmu *test_pmu) in __test_uncore_pmu_event_aliases() argument
597 struct perf_pmu *pmu = &test_pmu->pmu; in __test_uncore_pmu_event_aliases()
615 for (table = &test_pmu->aliases[0]; *table; table++) in __test_uncore_pmu_event_aliases()
624 for (table = &test_pmu->aliases[0]; *table; table++) { in __test_uncore_pmu_event_aliases()

Completed in 6 milliseconds