Searched refs:sysfs__read_int (Results 1 – 7 of 7) sorted by relevance
12 if (sysfs__read_int("devices/system/cpu/online", &cpu) < 0) in cpu__get_max_freq()
12 if (sysfs__read_int("devices/system/cpu/cpu0/cache/index0/coherency_line_size", cacheline_sizep)) in cache_line_size()
16 if (sysfs__read_int("devices/system/cpu/smt/active", &fs_value) >= 0) in smt_on()
195 return sysfs__read_int(path, value); in cpu__get_topology_int()
3676 if (!sysfs__read_int("fs/selinux/enforce", &enforced)) { in evsel__open_strerror()
55 int sysfs__read_int(const char *entry, int *value);
422 int sysfs__read_int(const char *entry, int *value) in sysfs__read_int() function