Re: [PATCH 2/3] tracing: add more symbols to whitelist

From: Arnd Bergmann

Date: Thu Mar 12 2026 - 11:40:48 EST




On Thu, Mar 12, 2026, at 16:21, Marc Zyngier wrote:
>
> I've decided to take this patch anyway, on top of Vincent's. Should a
> more generic solution arise, I can always drop both.
>

Ok, thanks!

FWIW, I came across two additional ones by now, and will keep
running more tests to see what else comes up:

--- a/kernel/trace/Makefile
+++ b/kernel/trace/Makefile
@@ -140,6 +140,7 @@ UNDEFINED_ALLOWLIST := memset alt_cb_patch_nops __x86 __ubsan __asan __kasan __g
UNDEFINED_ALLOWLIST += __stack_chk_fail stackleak_track_stack __ref_stack __sanitizer
UNDEFINED_ALLOWLIST += ftrace_likely_update __hwasan_load __hwasan_store __hwasan_tag_memory
UNDEFINED_ALLOWLIST += warn_bogus_irq_restore warn_slowpath_fmt __stack_chk_guard
+UNDEFINED_ALLOWLIST += __kcsan __tsan
UNDEFINED_ALLOWLIST := $(addprefix -e , $(UNDEFINED_ALLOWLIST))

quiet_cmd_check_undefined = NM $<


Arnd