perf unwind: Use find_map function in access_dso_mem
authorJiri Olsa <jolsa@kernel.org>
Thu, 7 Jan 2016 09:14:00 +0000 (10:14 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 8 Jan 2016 17:16:12 +0000 (14:16 -0300)
commitf22ed827a8d5ff5a85e7c8e865baaaaf71a8d0cc
treed5f7e49174f37666aa8c6b0f9e623694e615a457
parentd2190a8091124f832c8862ace3a3d7d70a2506a5
perf unwind: Use find_map function in access_dso_mem

The find_map helper is already there, so let's use it.

Also we're going to introduce wider search in following patch, so it'll
be easier to make this change on single place.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1452158050-28061-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/unwind-libunwind.c