Home
last modified time | relevance | path

Searched refs:sysfs__read_int (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/tools/lib/api/
H A Dcpu.c12 if (sysfs__read_int("devices/system/cpu/online", &cpu) < 0) in cpu__get_max_freq()
/openbmc/linux/tools/perf/util/
H A Dcacheline.c12 if (sysfs__read_int("devices/system/cpu/cpu0/cache/index0/coherency_line_size", cacheline_sizep)) in cache_line_size()
H A Dsmt.c16 if (sysfs__read_int("devices/system/cpu/smt/active", &fs_value) >= 0) in smt_on()
H A Dcpumap.c197 return sysfs__read_int(path, value); in cpu__get_topology_int()
H A Dheader.c1165 if (sysfs__read_int(file, (int *) &cache->level)) in cpu_cache_level__read()
1169 if (sysfs__read_int(file, (int *) &cache->line_size)) in cpu_cache_level__read()
1173 if (sysfs__read_int(file, (int *) &cache->sets)) in cpu_cache_level__read()
1177 if (sysfs__read_int(file, (int *) &cache->ways)) in cpu_cache_level__read()
H A Devsel.c2946 if (!sysfs__read_int("fs/selinux/enforce", &enforced)) { in evsel__open_strerror()
/openbmc/linux/tools/perf/arch/powerpc/util/
H A Dheader.c49 return sysfs__read_int(path, &count) < 0 ? 1 : count; in arch_get_runtimeparam()
/openbmc/linux/tools/lib/api/fs/
H A Dfs.h55 int sysfs__read_int(const char *entry, int *value);
H A Dfs.c450 int sysfs__read_int(const char *entry, int *value) in sysfs__read_int() function
/openbmc/linux/tools/perf/arch/x86/util/
H A Dintel-pt.c444 if (sysfs__read_int("module/kvm_intel/parameters/pt_mode", &pt_mode)) in intel_pt_exclude_guest()
/openbmc/linux/tools/perf/
H A Dbuiltin-stat.c2092 if (sysfs__read_int(FREEZE_ON_SMI_PATH, &smi) < 0) { in add_default_attributes()