* Re: [PATCH] tracing: samples: avoid warning about __aeabi_unwind_cpp_pr1
[not found] <20260323105646.590718-1-arnd@kernel.org>
@ 2026-05-13 14:59 ` Steven Rostedt
2026-05-14 9:54 ` Vincent Donnefort
0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2026-05-13 14:59 UTC (permalink / raw)
To: Vincent Donnefort
Cc: Arnd Bergmann, Masami Hiramatsu, Nathan Chancellor, Marc Zyngier,
Arnd Bergmann, Mathieu Desnoyers, linux-kernel,
linux-trace-kernel
Vincent,
Is this patch needed? That is, did it fall through the cracks?
-- Steve
On Mon, 23 Mar 2026 11:56:41 +0100
Arnd Bergmann <arnd@kernel.org> wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> The now more verbose check found another symbol missing from the whitelist:
>
> Unexpected symbols in kernel/trace/simple_ring_buffer.o:
> U __aeabi_unwind_cpp_pr1
>
> Add this to the Makefile.
>
> Fixes: 1211907ac0b5 ("tracing: Generate undef symbols allowlist for simple_ring_buffer")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> kernel/trace/Makefile | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/trace/Makefile b/kernel/trace/Makefile
> index d662c1a64cd5..aba6a25db17b 100644
> --- a/kernel/trace/Makefile
> +++ b/kernel/trace/Makefile
> @@ -169,8 +169,8 @@ targets += undefsyms_base.o
> # because it is not linked into vmlinux.
> KASAN_SANITIZE_undefsyms_base.o := y
>
> -UNDEFINED_ALLOWLIST = __asan __gcov __kasan __kcsan __hwasan __sancov __sanitizer __tsan __ubsan __x86_indirect_thunk \
> - __msan simple_ring_buffer \
> +UNDEFINED_ALLOWLIST = __asan __gcov __kasan __kcsan __hwasan __sancov __sanitizer __tsan __ubsan __msan \
> + __x86_indirect_thunk __aeabi_unwind_cpp simple_ring_buffer \
> $(shell $(NM) -u $(obj)/undefsyms_base.o 2>/dev/null | awk '{print $$2}')
>
> quiet_cmd_check_undefined = NM $<
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tracing: samples: avoid warning about __aeabi_unwind_cpp_pr1
2026-05-13 14:59 ` [PATCH] tracing: samples: avoid warning about __aeabi_unwind_cpp_pr1 Steven Rostedt
@ 2026-05-14 9:54 ` Vincent Donnefort
0 siblings, 0 replies; 2+ messages in thread
From: Vincent Donnefort @ 2026-05-14 9:54 UTC (permalink / raw)
To: Steven Rostedt
Cc: Arnd Bergmann, Masami Hiramatsu, Nathan Chancellor, Marc Zyngier,
Arnd Bergmann, Mathieu Desnoyers, linux-kernel,
linux-trace-kernel
On Wed, May 13, 2026 at 10:59:39AM -0400, Steven Rostedt wrote:
>
> Vincent,
>
> Is this patch needed? That is, did it fall through the cracks?
Yes, I believe it is!
Reviewed-by: Vincent Donnefort <vdonnefort@google.com>
>
> -- Steve
>
> On Mon, 23 Mar 2026 11:56:41 +0100
> Arnd Bergmann <arnd@kernel.org> wrote:
>
> > From: Arnd Bergmann <arnd@arndb.de>
> >
> > The now more verbose check found another symbol missing from the whitelist:
> >
> > Unexpected symbols in kernel/trace/simple_ring_buffer.o:
> > U __aeabi_unwind_cpp_pr1
> >
> > Add this to the Makefile.
> >
> > Fixes: 1211907ac0b5 ("tracing: Generate undef symbols allowlist for simple_ring_buffer")
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > ---
> > kernel/trace/Makefile | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/kernel/trace/Makefile b/kernel/trace/Makefile
> > index d662c1a64cd5..aba6a25db17b 100644
> > --- a/kernel/trace/Makefile
> > +++ b/kernel/trace/Makefile
> > @@ -169,8 +169,8 @@ targets += undefsyms_base.o
> > # because it is not linked into vmlinux.
> > KASAN_SANITIZE_undefsyms_base.o := y
> >
> > -UNDEFINED_ALLOWLIST = __asan __gcov __kasan __kcsan __hwasan __sancov __sanitizer __tsan __ubsan __x86_indirect_thunk \
> > - __msan simple_ring_buffer \
> > +UNDEFINED_ALLOWLIST = __asan __gcov __kasan __kcsan __hwasan __sancov __sanitizer __tsan __ubsan __msan \
> > + __x86_indirect_thunk __aeabi_unwind_cpp simple_ring_buffer \
> > $(shell $(NM) -u $(obj)/undefsyms_base.o 2>/dev/null | awk '{print $$2}')
> >
> > quiet_cmd_check_undefined = NM $<
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-14 9:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260323105646.590718-1-arnd@kernel.org>
2026-05-13 14:59 ` [PATCH] tracing: samples: avoid warning about __aeabi_unwind_cpp_pr1 Steven Rostedt
2026-05-14 9:54 ` Vincent Donnefort
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox