Searched refs:sysfs__read_str (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/tools/lib/api/fs/ |
| H A D | fs.h | 58 int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
|
| H A D | fs.c | 435 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 D | cpumap.c | 110 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 D | iostat.c | 157 if (sysfs__read_str(path, &buf, &size) < 0) { in iio_mapping()
|
| /linux-6.15/tools/perf/util/ |
| H A D | header.c | 1152 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 D | numa.c | 580 if (sysfs__read_str(buf, &str, &strlen) < 0) in is_cpu_online()
|