Searched refs:sysfs__read_str (Results 1 – 6 of 6) sorted by relevance
/linux/tools/lib/api/fs/ |
H A D | fs.h | 58 int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
|
/linux/tools/perf/arch/x86/util/ |
H A D | pmu.c | 47 if (sysfs__read_str(sysfs_path, &buf, &buf_len) < 0) in read_sysfs_cpu_map()
|
H A D | iostat.c | 157 if (sysfs__read_str(path, &buf, &size) < 0) { in iio_mapping()
|
/linux/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/tools/perf/util/ |
H A D | bpf_lock_contention.c | 163 ret = sysfs__read_str("devices/system/node/online", &buf, &len); in init_numa_data()
|
/linux/tools/perf/bench/ |
H A D | numa.c | 572 * Read online file using sysfs__read_str. in is_cpu_online() 580 if (sysfs__read_str(buf, &str, &strlen) < 0) in is_cpu_online()
|