diff options
author | Jiri Olsa | 2018-02-15 13:26:34 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2018-02-16 18:25:59 +0100 |
commit | a73e24d240bc136619d382b1268f34d75c9d25ce (patch) | |
tree | 4d78836f108828298baf36a37aced80bece8b4f3 /tools/perf/util/cs-etm.c | |
parent | perf machine: Remove machine__load_kallsyms() (diff) | |
download | kernel-qcow2-linux-a73e24d240bc136619d382b1268f34d75c9d25ce.tar.gz kernel-qcow2-linux-a73e24d240bc136619d382b1268f34d75c9d25ce.tar.xz kernel-qcow2-linux-a73e24d240bc136619d382b1268f34d75c9d25ce.zip |
perf tools: Do not create kernel maps in sample__resolve()
There's no need for kernel maps to be allocated at this point - sample
processing.
We search for kernel maps using the kernel map_groups in machine::kmaps
which is static. If vmlinux maps for any reason still don't exist, the
search correctly fails because they are not in the map group.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180215122635.24029-9-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/cs-etm.c')
0 files changed, 0 insertions, 0 deletions