perf symbols: Use __map__is_kernel() instead of ad-hoc equivalent code
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 Apr 2018 19:43:47 +0000 (16:43 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Apr 2018 16:47:00 +0000 (13:47 -0300)
commitefdd5c6b81185223e07452a2f8b5467f81b13d96
tree39e22e5236bf09a42ba8022f4e252ed0c08d4b52
parent68766bfa56476ee07217fc7f24a1d93f43125036
perf symbols: Use __map__is_kernel() instead of ad-hoc equivalent code

Shorter, should be equivalent code, use it.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-q90olng8sfkvrnsrwu7xnul6@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol.c