tools lib api fs: Add filename__read_xll function
authorJiri Olsa <jolsa@kernel.org>
Tue, 6 Feb 2018 18:18:00 +0000 (19:18 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Feb 2018 13:09:23 +0000 (10:09 -0300)
commit6baddfc6900eca7f6b360c91ff737890ab4f1d55
tree6d604e38804e7594c9220f8c30125ff99ea4ca5d
parent3233b37a71c794e25a0a794185df8d6abd9f277e
tools lib api fs: Add filename__read_xll function

Adding filename__read_xll function to be able to read files with hex
numbers in, which do not have 0x prefix.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180206181813.10943-5-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