tools lib api fs: Adopt filename__read_str from perf
authorJiri Olsa <jolsa@kernel.org>
Sun, 14 Feb 2016 16:03:43 +0000 (17:03 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 16 Feb 2016 20:12:56 +0000 (17:12 -0300)
commit607bfbd7ffc60156ae0831c917497dc91a57dd8d
treeaa97aa79ad0d1b0cc2e488b15b96402417b0155e
parent975f14fa8f2996604f248552eee4403def34bf5e
tools lib api fs: Adopt filename__read_str from perf

We already moved similar functions in here, also it'll be useful for
sysfs__read_str addition in following patch.

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-3-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/api/fs/fs.c
tools/lib/api/fs/fs.h
tools/perf/util/trace-event.c
tools/perf/util/util.c
tools/perf/util/util.h