Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/util/
H A Dpmus.c367 int pmu_name_len = pmu_name_len_no_suffix(pmu->name ?: ""); in perf_pmus__scan_skip_duplicates() local
369 if (last_pmu_name_len == pmu_name_len && in perf_pmus__scan_skip_duplicates()
370 !strncmp(last_pmu_name, pmu->name ?: "", pmu_name_len)) in perf_pmus__scan_skip_duplicates()
379 int pmu_name_len = pmu_name_len_no_suffix(pmu->name ?: ""); in perf_pmus__scan_skip_duplicates() local
381 if (last_pmu_name_len == pmu_name_len && in perf_pmus__scan_skip_duplicates()
382 !strncmp(last_pmu_name, pmu->name ?: "", pmu_name_len)) in perf_pmus__scan_skip_duplicates()
H A Dpmu.c897 size_t pmu_name_len, tok_len; in perf_pmu__match_ignoring_suffix_uncore() local
909 pmu_name_len = pmu_name_len_no_suffix(pmu_name); in perf_pmu__match_ignoring_suffix_uncore()
911 if (pmu_name_len != tok_len) in perf_pmu__match_ignoring_suffix_uncore()
914 return strncmp(pmu_name, tok, pmu_name_len) == 0; in perf_pmu__match_ignoring_suffix_uncore()
1905 size_t pmu_name_len = pmu_deduped_name_len(pmu, pmu->name, in format_alias() local
1907 int used = snprintf(buf, len, "%.*s/%s", (int)pmu_name_len, pmu->name, alias->name); in format_alias()
1948 size_t buf_used, pmu_name_len; in perf_pmu__for_each_event() local
1954 pmu_name_len = pmu_deduped_name_len(pmu, info.pmu_name, in perf_pmu__for_each_event()
1980 "%.*s/%s/", (int)pmu_name_len, info.pmu_name, sb.buf) + 1; in perf_pmu__for_each_event()