Searched refs:perf_pmu__scan_file_at (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/tools/perf/arch/x86/util/ |
D | intel-pt.c | 199 if (perf_pmu__scan_file_at(intel_pt_pmu, dirfd, "caps/mtc", "%d", in intel_pt_default_config() 204 if (perf_pmu__scan_file_at(intel_pt_pmu, dirfd, "caps/mtc_periods", "%x", in intel_pt_default_config() 214 if (perf_pmu__scan_file_at(intel_pt_pmu, dirfd, "caps/psb_cyc", "%d", in intel_pt_default_config() 219 if (perf_pmu__scan_file_at(intel_pt_pmu, dirfd, "caps/psb_periods", "%x", in intel_pt_default_config() 229 if (perf_pmu__scan_file_at(intel_pt_pmu, dirfd, "format/pt", "%c", &c) == 1 && in intel_pt_default_config() 230 perf_pmu__scan_file_at(intel_pt_pmu, dirfd, "format/branch", "%c", &c) == 1) in intel_pt_default_config() 495 if (perf_pmu__scan_file_at(intel_pt_pmu, dirfd, caps, "%llx", &valid) != 1) in intel_pt_val_config_term() 499 perf_pmu__scan_file_at(intel_pt_pmu, dirfd, supported, "%d", &ok) == 1 && !ok) in intel_pt_val_config_term() 542 if (perf_pmu__scan_file_at(intel_pt_pmu, dirfd, "format/pt", "%c", &c) == 1 && in intel_pt_validate_config()
|
/linux-6.6.21/tools/perf/util/ |
D | pmu.h | 229 int perf_pmu__scan_file_at(struct perf_pmu *pmu, int dirfd, const char *name,
|
D | pmu.c | 960 perf_pmu__scan_file_at(pmu, dirfd, "caps/max_precise", "%d", &max_precise); in pmu_max_precise() 983 if (perf_pmu__scan_file_at(pmu, dirfd, "type", "%u", &type) != 1) in perf_pmu__lookup() 1791 int perf_pmu__scan_file_at(struct perf_pmu *pmu, int dirfd, const char *name, in perf_pmu__scan_file_at() function
|