Searched refs:caps_path (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | pmu.c | 1688 char caps_path[PATH_MAX]; in perf_pmu__caps_parse() local 1697 snprintf(caps_path, PATH_MAX, in perf_pmu__caps_parse() 1700 if (stat(caps_path, &st) < 0) in perf_pmu__caps_parse() 1703 caps_dir = opendir(caps_path); in perf_pmu__caps_parse() 1716 snprintf(path, sizeof(path), "%s/%s", caps_path, name); in perf_pmu__caps_parse()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | pmu.c | 1871 char caps_path[PATH_MAX]; in perf_pmu__caps_parse() local 1881 if (!perf_pmu__pathname_scnprintf(caps_path, sizeof(caps_path), pmu->name, "caps")) in perf_pmu__caps_parse() 1884 if (stat(caps_path, &st) < 0) { in perf_pmu__caps_parse() 1889 caps_dir = opendir(caps_path); in perf_pmu__caps_parse()
|
Completed in 5 milliseconds