perf machine: Introduce machine__kernel_maps()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Apr 2018 20:06:25 +0000 (17:06 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Apr 2018 16:47:10 +0000 (13:47 -0300)
commit68a741868a0612408a46fda4c06663315d40c544
tree186c1fafea08b167628947a572fd967b0884017a
parentffef80ecf89f0a883e976534a62db04059d3a4f6
perf machine: Introduce machine__kernel_maps()

That returns the a data structure contained the ordered list of kernel
modules + the main kernel maps, one more step in removing the
MAP__{FUNCTION,VARIABLE} split.

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-qsgbxfyaohc80c9ma049dubm@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/vmlinux-kallsyms.c
tools/perf/util/event.c
tools/perf/util/machine.h
tools/perf/util/probe-event.c