diff options
| author | Jiri Olsa <[email protected]> | 2016-02-14 17:03:44 +0100 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-02-16 17:12:57 -0300 |
| commit | 51c0396c600f49de9c3ff8f6fd83055de3709c3d (patch) | |
| tree | 0c2119d1d56c78ac124e12fa9e271da40aec3be1 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 607bfbd7ffc60156ae0831c917497dc91a57dd8d (diff) | |
tools lib api fs: Add sysfs__read_str function
Adding sysfs__read_str function to ease up reading string files from
sysfs. New interface is:
int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions