Searched refs:sysfs__read_str (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/tools/perf/util/ |
D | smt.c | 30 if (sysfs__read_str(fn, &str, &strlen) < 0) { in smt_on() 34 if (sysfs__read_str(fn, &str, &strlen) < 0) in smt_on()
|
D | header.c | 1125 if (sysfs__read_str(file, &cache->type, &len)) in cpu_cache_level__read() 1132 if (sysfs__read_str(file, &cache->size, &len)) { in cpu_cache_level__read() 1141 if (sysfs__read_str(file, &cache->map, &len)) { in cpu_cache_level__read()
|
D | pmu.c | 666 if (sysfs__read_str(path, &str, &len) < 0) in pmu_id()
|
/Linux-v5.15/tools/lib/api/fs/ |
D | fs.h | 58 int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
|
D | fs.c | 491 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str() function 510 ret = sysfs__read_str(entry, &buf, &size); in sysfs__read_bool()
|
/Linux-v5.15/tools/perf/arch/x86/util/ |
D | iostat.c | 156 if (sysfs__read_str(path, &buf, &size) < 0) { in iio_mapping()
|