aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2019-03-04 15:13:21 +0200
committerArnaldo Carvalho de Melo <[email protected]>2019-03-11 11:56:03 -0300
commiteaeffeb9838a7c0dec981d258666bfcc0fa6a947 (patch)
treebe2336b1c050fbc27f03904b1891f92c4b132bdf /tools/perf/scripts/python/exported-sql-viewer.py
parent2a1292cbd4e5c81edbf815a410fa2072c341db1e (diff)
perf probe: Fix getting the kernel map
Since commit 4d99e4136580 ("perf machine: Workaround missing maps for x86 PTI entry trampolines"), perf tools has been creating more than one kernel map, however 'perf probe' assumed there could be only one. Fix by using machine__kernel_map() to get the main kernel map. Signed-off-by: Adrian Hunter <[email protected]> Tested-by: Joseph Qi <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Jiufei Xue <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Cc: Xu Yu <[email protected]> Fixes: 4d99e4136580 ("perf machine: Workaround missing maps for x86 PTI entry trampolines") Fixes: d83212d5dd67 ("kallsyms, x86: Export addresses of PTI entry trampolines") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions