diff options
| author | Jiri Olsa <[email protected]> | 2018-03-12 15:24:06 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-03-16 16:56:25 +0000 |
| commit | c192524e6fe8a4bd18f2549f9556b81ed9e05a86 (patch) | |
| tree | cf06356bbb211b59975f46e011d8f8412d9c8096 /tools/perf/util/annotate.c | |
| parent | perf stat: Make function perf_stat_evsel_id_init static (diff) | |
| download | kernel-c192524e6fe8a4bd18f2549f9556b81ed9e05a86.tar.gz kernel-c192524e6fe8a4bd18f2549f9556b81ed9e05a86.zip | |
perf machine: Fix mmap name setup
Leo reported broken -k option behavior. The reason is that we used
symbol_conf.vmlinux_name as a source for mmap event name, but in fact
it's a vmlinux path.
Moving the symbol_conf.vmlinux_name check for both host and guest to the
proper place and out of the machine__set_mmap_name function.
Reported-by: Leo Yan <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Tested-by: Leo Yan <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Fixes: commit ("8c7f1bb37b29 perf machine: Move kernel mmap name into struct machine")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
