Re: [PATCH] perf lock contention: Load kernel map before lookup

From: Namhyung Kim
Date: Mon Nov 03 2025 - 12:53:40 EST


On Wed, 29 Oct 2025 21:01:39 -0700, Namhyung Kim wrote:
> 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().
>
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung