perf top: Do not convert address for perf_top__record_precise_ip()
authorNamhyung Kim <namhyung@kernel.org>
Fri, 11 Dec 2015 02:56:53 +0000 (11:56 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 11 Dec 2015 11:33:18 +0000 (08:33 -0300)
commit64226bcf64629996948dc03c38594f00511bfc2b
tree4fdcf5f90e4ace753bf412bb22c71d42cbbcbd53
parente7a7865cc0da306542db0b9205cb0a467f59e33d
perf top: Do not convert address for perf_top__record_precise_ip()

We call map->unmap_ip() before the function and call map->map_ip()
inside the function.  This is meaningless and look strange since only
one of the two checks 'map'.  Let's use al->addr directly.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1449802616-16170-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c