Re: [PATCH 2/2] ftrace/selftests: Change non-unique test symbol to init_once

From: Google

Date: Tue Oct 13 2026 - 00:10:13 EST


On Tue, 25 Aug 2026 18:58:40 +0200, Alexander Gordeev <agordeev@xxxxxxxxxxxxx> wrote:
> The name_show symbol is not the best choise, because it often
> appears only three times on s390 in kallsyms, with two of them
> having module annotations [mdev] and [i2c_core].
>
> Switch to init_once which has many more duplicate instances
> all in vmlinux, making it a more reliable non-unique symbol
> for testing kprobe registration failure.
>
> Signed-off-by: Alexander Gordeev <agordeev@xxxxxxxxxxxxx>

Looks good to me. Let me pick this to probes/for-next.

Thanks,
--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>