]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tracing: add more symbols to whitelist
authorArnd Bergmann <arnd@arndb.de>
Thu, 12 Mar 2026 12:35:43 +0000 (13:35 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 12 Mar 2026 15:19:29 +0000 (15:19 +0000)
commit7e4b6c94300e355a72670c5b896ccc26ac312c63
treee1d3dd4050853134fd2e612c14128b4ef3149fdf
parent5f2f83047126f1cb2986d142d2e76e1fa3cef3f0
tracing: add more symbols to whitelist

Randconfig builds show a number of cryptic build errors from
hitting undefined symbols in simple_ring_buffer.o:

make[7]: *** [/home/arnd/arm-soc/kernel/trace/Makefile:147: kernel/trace/simple_ring_buffer.o.checked] Error 1

These happen with CONFIG_TRACE_BRANCH_PROFILING, CONFIG_KASAN_HW_TAGS,
CONFIG_STACKPROTECTOR, CONFIG_DEBUG_IRQFLAGS and indirectly from WARN_ON().

Add exceptions for each one that I have hit so far on arm64, x86_64 and arm
randconfig builds.

Other architectures likely hit additional ones, so it would be nice
to produce a little more verbose output that include the name of the
missing symbols directly.

Fixes: a717943d8ecc ("tracing: Check for undefined symbols in simple_ring_buffer")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260312123601.625063-2-arnd@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
kernel/trace/Makefile