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

Song Liu
2024-07-31T01:10:02Z

Hi Masami,

> On Jul 30, 2024, at 6:04 AM, Masami Hiramatsu <mhiramat@kernel.org> wrote:
>
> On Mon, 29 Jul 2024 17:54:33 -0700
> Song Liu <song@kernel.org> 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