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

Adding sysfs__read_xll function to be able to read sysfs 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-6-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