]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23d4ff551cac6ceba097cd508757d2ab57bb0e8f
tree4fdcf5f90e4ace753bf412bb22c71d42cbbcbd53
parent59741950cc991adb8d58fa3738b67f9c9a1b1525
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