Home
last modified time | relevance | path

Searched refs:sysfs__read_str (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/tools/lib/api/fs/
H A Dfs.h58 int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
H A Dfs.c435 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str() function
/linux-6.15/tools/lib/perf/
H A Dcpumap.c110 if (sysfs__read_str("devices/system/cpu/online", &buf, &buf_len) >= 0) { in cpu_map__new_sysfs_online()
/linux-6.15/tools/perf/arch/x86/util/
H A Diostat.c157 if (sysfs__read_str(path, &buf, &size) < 0) { in iio_mapping()
/linux-6.15/tools/perf/util/
H A Dheader.c1152 if (sysfs__read_str(file, &cache->type, &len)) in cpu_cache_level__read()
1159 if (sysfs__read_str(file, &cache->size, &len)) { in cpu_cache_level__read()
1168 if (sysfs__read_str(file, &cache->map, &len)) { in cpu_cache_level__read()
/linux-6.15/tools/perf/bench/
H A Dnuma.c580 if (sysfs__read_str(buf, &str, &strlen) < 0) in is_cpu_online()