Home
last modified time | relevance | path

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

/Linux-v4.19/tools/lib/api/
Dcpu.c12 if (sysfs__read_int("devices/system/cpu/online", &cpu) < 0) in cpu__get_max_freq()
/Linux-v4.19/tools/lib/api/fs/
Dfs.h41 int sysfs__read_int(const char *entry, int *value);
Dfs.c459 int sysfs__read_int(const char *entry, int *value) in sysfs__read_int() function
/Linux-v4.19/tools/perf/util/
Dutil.c47 if (sysfs__read_int("devices/system/cpu/cpu0/cache/index0/coherency_line_size", cacheline_sizep)) in cache_line_size()
Dcpumap.c311 return sysfs__read_int(path, value); in cpu__get_topology_int()
Dheader.c1084 if (sysfs__read_int(file, (int *) &cache->level)) in cpu_cache_level__read()
1088 if (sysfs__read_int(file, (int *) &cache->line_size)) in cpu_cache_level__read()
1092 if (sysfs__read_int(file, (int *) &cache->sets)) in cpu_cache_level__read()
1096 if (sysfs__read_int(file, (int *) &cache->ways)) in cpu_cache_level__read()
/Linux-v4.19/tools/perf/
Dbuiltin-stat.c2439 if (sysfs__read_int(FREEZE_ON_SMI_PATH, &smi) < 0) { in add_default_attributes()