Home
last modified time | relevance | path

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

/linux/tools/lib/api/
A Dcpu.c12 if (sysfs__read_int("devices/system/cpu/online", &cpu) < 0) in cpu__get_max_freq()
/linux/tools/perf/util/
A Dcacheline.c12 if (sysfs__read_int("devices/system/cpu/cpu0/cache/index0/coherency_line_size", cacheline_sizep)) in cache_line_size()
A Dsmt.c18 if (sysfs__read_int("devices/system/cpu/smt/active", &cached_result) >= 0) in smt_on()
A Dcpumap.c122 return sysfs__read_int(path, value); in cpu__get_topology_int()
A Dheader.c1110 if (sysfs__read_int(file, (int *) &cache->level)) in cpu_cache_level__read()
1114 if (sysfs__read_int(file, (int *) &cache->line_size)) in cpu_cache_level__read()
1118 if (sysfs__read_int(file, (int *) &cache->sets)) in cpu_cache_level__read()
1122 if (sysfs__read_int(file, (int *) &cache->ways)) in cpu_cache_level__read()
A Dpmu.c969 sysfs__read_int(path, &max_precise); in pmu_max_precise()
A Devsel.c2867 if (!sysfs__read_int("fs/selinux/enforce", &enforced)) { in evsel__open_strerror()
/linux/tools/perf/arch/powerpc/util/
A Dheader.c49 return sysfs__read_int(path, &count) < 0 ? 1 : count; in arch_get_runtimeparam()
/linux/tools/lib/api/fs/
A Dfs.h55 int sysfs__read_int(const char *entry, int *value);
A Dfs.c478 int sysfs__read_int(const char *entry, int *value) in sysfs__read_int() function
/linux/tools/perf/
A Dbuiltin-stat.c1794 if (sysfs__read_int(FREEZE_ON_SMI_PATH, &smi) < 0) { in add_default_attributes()

Completed in 29 milliseconds