perf machine: Use machine__kernel_map() thoroughly
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Sep 2015 14:08:58 +0000 (11:08 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 30 Sep 2015 21:34:28 +0000 (18:34 -0300)
commit77e65977495cd6f6fcfacd8c16bdd9c8c18a1d72
tree4bea63a643491da930464504cda9ce0dd95e07ac
parenteb56db54326f910348defbee2803ec0675a664b2
perf machine: Use machine__kernel_map() thoroughly

In places where we were using its open coded equivalent.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-khkdugcdoqy3tkszm3jdxgbe@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kmem.c
tools/perf/builtin-report.c
tools/perf/tests/code-reading.c
tools/perf/util/event.c
tools/perf/util/machine.c
tools/perf/util/map.c
tools/perf/util/probe-event.c