Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dpmus.c294 int pmu_name_len = pmu_name_len_no_suffix(pmu->name ?: "", /*num=*/NULL); in perf_pmus__scan_skip_duplicates() local
296 if (last_pmu_name_len == pmu_name_len && in perf_pmus__scan_skip_duplicates()
297 !strncmp(last_pmu_name, pmu->name ?: "", pmu_name_len)) in perf_pmus__scan_skip_duplicates()
306 int pmu_name_len = pmu_name_len_no_suffix(pmu->name ?: "", /*num=*/NULL); in perf_pmus__scan_skip_duplicates() local
308 if (last_pmu_name_len == pmu_name_len && in perf_pmus__scan_skip_duplicates()
309 !strncmp(last_pmu_name, pmu->name ?: "", pmu_name_len)) in perf_pmus__scan_skip_duplicates()
H A Dpmu.c1701 int pmu_name_len = skip_duplicate_pmus in format_alias() local
1704 int used = snprintf(buf, len, "%.*s/%s", pmu_name_len, pmu->name, alias->name); in format_alias()