Re: [PATCH 3/3] tracing/kprobes: Use APIs that matches symbols with .llvm.<hash> suffix

From: Song Liu
Date: Tue Jul 30 2024 - 21:10:15 EST


Hi Masami,

> On Jul 30, 2024, at 6:04 AM, Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>
> On Mon, 29 Jul 2024 17:54:33 -0700
> Song Liu <song@xxxxxxxxxx> wrote:
>
>> Use the new kallsyms APIs that matches symbols name with .llvm.<hash>
>> suffix. This allows userspace tools to get kprobes on the expected
>> function name, while the actual symbol has a .llvm.<hash> suffix.
>>
>
> _kprobe_addr@kernel/kprobes.c may also fail with this change.
>

Thanks for catching this! I will fix this in the next version.

Song