Searched refs:pmu_name_cmp (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/perf/tests/ |
D | pmu.c | 431 TEST_ASSERT_EQUAL("cpu", pmu_name_cmp("cpu", "cpu"), 0); in test__name_cmp() 432 TEST_ASSERT_EQUAL("i915", pmu_name_cmp("i915", "i915"), 0); in test__name_cmp() 433 TEST_ASSERT_EQUAL("cpum_cf", pmu_name_cmp("cpum_cf", "cpum_cf"), 0); in test__name_cmp() 434 TEST_ASSERT_VAL("i915", pmu_name_cmp("cpu", "i915") < 0); in test__name_cmp() 435 TEST_ASSERT_VAL("i915", pmu_name_cmp("i915", "cpu") > 0); in test__name_cmp() 436 TEST_ASSERT_VAL("cpum_cf", pmu_name_cmp("cpum_cf", "cpum_ce") > 0); in test__name_cmp() 437 TEST_ASSERT_VAL("cpum_cf", pmu_name_cmp("cpum_cf", "cpum_d0") < 0); in test__name_cmp() 440 pmu_name_cmp(uncore_chas[i-1], uncore_chas[i]) < 0); in test__name_cmp() 442 pmu_name_cmp(uncore_chas[i], uncore_chas[i-1]) > 0); in test__name_cmp() 446 pmu_name_cmp(mrvl_ddrs[i-1], mrvl_ddrs[i]) < 0); in test__name_cmp() [all …]
|
/linux-6.12.1/tools/perf/util/ |
D | pmus.h | 13 int pmu_name_cmp(const char *lhs_pmu_name, const char *rhs_pmu_name);
|
D | pmus.c | 70 int pmu_name_cmp(const char *lhs_pmu_name, const char *rhs_pmu_name) in pmu_name_cmp() function 194 return pmu_name_cmp(lhs_pmu->name ?: "", rhs_pmu->name ?: ""); in pmus_cmp()
|