aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2023-04-03 15:48:30 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-04-04 12:39:57 +0000
commit1f9f33ccf0320be21703d9195dd2b36a1c9a07cb (patch)
treeea75303a6ea8b71212e50705ecd39b3ea092fffd /tools/perf/scripts/python/task-analyzer.py
parentperf arm-spe: Add raw decoding for SPEv1.3 MTE and MOPS load/store (diff)
downloadkernel-1f9f33ccf0320be21703d9195dd2b36a1c9a07cb.tar.gz
kernel-1f9f33ccf0320be21703d9195dd2b36a1c9a07cb.zip
perf auxtrace: Fix address filter entire kernel size
kallsyms is not completely in address order. In find_entire_kern_cb(), calculate the kernel end from the maximum address not the last symbol. Example: Before: $ sudo cat /proc/kallsyms | grep ' [twTw] ' | tail -1 ffffffffc00b8bd0 t bpf_prog_6deef7357e7b4530 [bpf] $ sudo cat /proc/kallsyms | grep ' [twTw] ' | sort | tail -1 ffffffffc15e0cc0 t iwl_mvm_exit [iwlmvm] $ perf.d093603a05aa record -v --kcore -e intel_pt// --filter 'filter *' -- uname |& grep filter Address filter: filter 0xffffffff93200000/0x2ceba000 After: $ perf.8fb0f7a01f8e record -v --kcore -e intel_pt// --filter 'filter *' -- uname |& grep filter Address filter: filter 0xffffffff93200000/0x2e3e2000 Fixes: 1b36c03e356936d6 ("perf record: Add support for using symbols in address filters") Signed-off-by: Adrian Hunter <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions