Searched refs:sysfs__read_str (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/tools/perf/util/ |
D | smt.c | 28 if (sysfs__read_str(fn, &str, &strlen) < 0) in smt_on()
|
D | header.c | 1100 if (sysfs__read_str(file, &cache->type, &len)) in cpu_cache_level__read() 1107 if (sysfs__read_str(file, &cache->size, &len)) { in cpu_cache_level__read() 1116 if (sysfs__read_str(file, &cache->map, &len)) { in cpu_cache_level__read()
|
/Linux-v4.19/tools/lib/api/fs/ |
D | fs.h | 44 int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
|
D | fs.c | 472 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str() function 491 ret = sysfs__read_str(entry, &buf, &size); in sysfs__read_bool()
|