Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dpmus.c466 int pmu_name_len = pmu_name_len_no_suffix(pmu->name ?: ""); in perf_pmus__scan_skip_duplicates() local
468 if (last_pmu_name_len == pmu_name_len && in perf_pmus__scan_skip_duplicates()
469 !strncmp(last_pmu_name, pmu->name ?: "", pmu_name_len)) in perf_pmus__scan_skip_duplicates()
478 int pmu_name_len = pmu_name_len_no_suffix(pmu->name ?: ""); in perf_pmus__scan_skip_duplicates() local
480 if (last_pmu_name_len == pmu_name_len && in perf_pmus__scan_skip_duplicates()
481 !strncmp(last_pmu_name, pmu->name ?: "", pmu_name_len)) in perf_pmus__scan_skip_duplicates()
H A Dpmu.c949 size_t pmu_name_len, tok_len; in perf_pmu__match_ignoring_suffix_uncore() local
961 pmu_name_len = pmu_name_len_no_suffix(pmu_name); in perf_pmu__match_ignoring_suffix_uncore()
963 if (pmu_name_len != tok_len) in perf_pmu__match_ignoring_suffix_uncore()
966 return strncmp(pmu_name, tok, pmu_name_len) == 0; in perf_pmu__match_ignoring_suffix_uncore()
2039 size_t pmu_name_len = pmu_deduped_name_len(pmu, pmu->name, in format_alias() local
2041 int used = snprintf(buf, len, "%.*s/%s", (int)pmu_name_len, pmu->name, alias->name); in format_alias()
2088 size_t buf_used, pmu_name_len; in perf_pmu__for_each_event() local
2094 pmu_name_len = pmu_deduped_name_len(pmu, info.pmu_name, in perf_pmu__for_each_event()
2120 "%.*s/%s/", (int)pmu_name_len, info.pmu_name, sb.buf) + 1; in perf_pmu__for_each_event()