summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2025-10-29 21:01:39 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-10-31 11:32:51 -0700
commit553d18c98a896094b99a01765b9698b204183d49 (patch)
treec87a489cac5354016ae5c7f9f09cd79e7ea6dea5 /tools/perf/scripts/python/export-to-sqlite.py
parent352864787458d31420b446154a165145f150d1f0 (diff)
downloadlinux-553d18c98a896094b99a01765b9698b204183d49.tar.gz
linux-553d18c98a896094b99a01765b9698b204183d49.zip
perf lock contention: Load kernel map before lookup
On some machines, it caused troubles when it tried to find kernel symbols. I think it's because kernel modules and kallsyms are messed up during load and split. Basically we want to make sure the kernel map is loaded and the code has it in the lock_contention_read(). But recently we added more lookups in the lock_contention_prepare() which is called before _read(). Also the kernel map (kallsyms) may not be the first one in the group like on ARM. Let's use machine__kernel_map() rather than just loading the first map. Reviewed-by: Ian Rogers <irogers@google.com> Fixes: 688d2e8de231c54e ("perf lock contention: Add -l/--lock-addr option") Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions