linux/tools/lib/api
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
..
fd tools lib api: Rename libapikfs.a to libapi.a 2015-02-12 17:55:18 -03:00
fs tools lib api fs: Add sysfs__read_str function 2016-02-16 17:12:57 -03:00
Build tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
Makefile tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
cpu.c tools lib api cpu: Introduce cpu.[ch] to obtain cpu related information 2015-09-14 12:50:26 -03:00
cpu.h tools lib api cpu: Introduce cpu.[ch] to obtain cpu related information 2015-09-14 12:50:26 -03:00
debug-internal.h tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
debug.c tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
debug.h tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00