perf kallsyms: Adopt hex2u64 from tools/perf/util/util.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Jun 2019 21:13:17 +0000 (18:13 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Jun 2019 21:13:17 +0000 (18:13 -0300)
commit155681fcd7f82882a730240c2dde7eee76a46314
tree306d20b2a2740d1f8816f583efd0bce21bb0833d
parentaf41949d9e022f4e37d476505e406c87479862ab
perf kallsyms: Adopt hex2u64 from tools/perf/util/util.h

Just removing more stuff from tools/perf/, this is mostly used in the
kallsyms parsing and in places in perf where kallsyms is involved, so we
get it for free there.

With this we reduce a bit more util.h.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-5mc1zg0jqdwgkn8c358kaba6@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/symbol/kallsyms.c
tools/lib/symbol/kallsyms.h
tools/perf/util/util.c
tools/perf/util/util.h