Home
last modified time | relevance | path

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

/linux/tools/lib/api/fs/
H A Dfs.h58 int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
/linux/tools/perf/arch/x86/util/
H A Dpmu.c47 if (sysfs__read_str(sysfs_path, &buf, &buf_len) < 0) in read_sysfs_cpu_map()
H A Diostat.c157 if (sysfs__read_str(path, &buf, &size) < 0) { in iio_mapping()
/linux/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/tools/perf/util/
H A Dbpf_lock_contention.c163 ret = sysfs__read_str("devices/system/node/online", &buf, &len); in init_numa_data()
/linux/tools/perf/bench/
H A Dnuma.c572 * Read online file using sysfs__read_str. in is_cpu_online()
580 if (sysfs__read_str(buf, &str, &strlen) < 0) in is_cpu_online()