perf tools: Use kallsyms__is_function()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Apr 2018 20:16:31 +0000 (17:16 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Apr 2018 16:47:14 +0000 (13:47 -0300)
commite85e0e0ccc60e1bd82b33293088ce146f3eff632
tree03c64eefdb3b83601582499edec0901d34b73a73
parent494e31e2a2b1cdc3efc60043fac5bbd39a6fb04f
perf tools: Use kallsyms__is_function()

Replacing equivalent, the equivalent and longer variation:

 symbol__is_a(type, MAP__FUNCTION);

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-9t3dqogher54owfl9o2mir52@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/auxtrace.c
tools/perf/util/event.c
tools/perf/util/symbol-elf.c