tools lib fs: Adopt filename__read_int from tools/perf/
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 11 Dec 2014 16:17:46 +0000 (13:17 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 11 Dec 2014 16:17:46 +0000 (13:17 -0300)
commit3a351127cbc682c3a0ae7383c4ff6fd0e8fee83c
tree7764be99863cf2d9ca95f0f42336756f0e6dcbb7
parent99d348a84c2118ed04c9b72168787f55e2fe33a5
tools lib fs: Adopt filename__read_int from tools/perf/

Will be useful for new helpers to read sysctl values.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
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/util.c
tools/perf/util/util.h