linux/tools/lib/api/fs
Jiri Olsa 51c0396c60 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 <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1455465826-8426-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-02-16 17:12:57 -03:00
..
Build tools lib api fs: Remove debugfs, tracefs and findfs objects 2015-09-14 12:50:15 -03:00
fs.c tools lib api fs: Add sysfs__read_str function 2016-02-16 17:12:57 -03:00
fs.h tools lib api fs: Add sysfs__read_str function 2016-02-16 17:12:57 -03:00
tracing_path.c tools lib api fs: No need to use PATH_MAX + 1 2015-10-05 16:12:09 -03:00
tracing_path.h tools lib api fs: Move debugfs__strerror_open into tracing_path.c object 2015-09-04 12:00:58 -03:00