Searched refs:to_match (Results 1 – 3 of 3) sorted by relevance
| /tools/perf/util/ |
| A D | pmu.h | 254 bool perf_pmu__name_wildcard_match(const struct perf_pmu *pmu, const char *to_match); 255 bool perf_pmu__name_no_suffix_match(const struct perf_pmu *pmu, const char *to_match);
|
| A D | pmu.c | 987 if (!strncmp(to_match, "uncore_", 7)) in perf_pmu__match_wildcard_uncore() 988 to_match += 7; in perf_pmu__match_wildcard_uncore() 990 if (strchr(to_match, ',') == NULL) in perf_pmu__match_wildcard_uncore() 991 return perf_pmu__match_wildcard(pmu_name, to_match); in perf_pmu__match_wildcard_uncore() 994 mutable_to_match = strdup(to_match); in perf_pmu__match_wildcard_uncore() 2160 if (!strcmp(name, to_match)) { in perf_pmu___name_match() 2165 if (!strcmp(to_match, "default_core")) { in perf_pmu___name_match() 2185 if (!strcmp(name, to_match)) { in perf_pmu___name_match() 2198 if (wildcard && perf_pmu__match_wildcard_uncore(name, to_match)) in perf_pmu___name_match() 2214 return perf_pmu___name_match(pmu, to_match, /*wildcard=*/true); in perf_pmu__name_wildcard_match() [all …]
|
| /tools/perf/tests/ |
| A D | pmu.c | 466 #define TEST_PMU_MATCH(msg, to_match, expect) \ in test__pmu_match() argument 467 TEST_ASSERT_EQUAL(msg, perf_pmu__wildcard_match(&test_pmu, to_match), expect) in test__pmu_match()
|
Completed in 13 milliseconds