Home
last modified time | relevance | path

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

/tools/lib/api/fs/
A Dfs.h58 int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
A Dfs.c435 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str() function
/tools/perf/arch/x86/util/
A Dpmu.c47 if (sysfs__read_str(sysfs_path, &buf, &buf_len) < 0) in read_sysfs_cpu_map()
A Diostat.c157 if (sysfs__read_str(path, &buf, &size) < 0) { in iio_mapping()
/tools/lib/perf/
A Dcpumap.c110 if (sysfs__read_str("devices/system/cpu/online", &buf, &buf_len) >= 0) { in cpu_map__new_sysfs_online()
/tools/perf/util/
A Dbpf_lock_contention.c163 ret = sysfs__read_str("devices/system/node/online", &buf, &len); in init_numa_data()
A Dheader.c1160 if (sysfs__read_str(file, &cache->type, &len)) in cpu_cache_level__read()
1167 if (sysfs__read_str(file, &cache->size, &len)) { in cpu_cache_level__read()
1176 if (sysfs__read_str(file, &cache->map, &len)) { in cpu_cache_level__read()
/tools/perf/bench/
A Dnuma.c580 if (sysfs__read_str(buf, &str, &strlen) < 0) in is_cpu_online()

Completed in 21 milliseconds