]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tracing: Generate undef symbols allowlist for simple_ring_buffer
authorVincent Donnefort <vdonnefort@google.com>
Mon, 16 Mar 2026 09:28:45 +0000 (09:28 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 17 Mar 2026 09:01:19 +0000 (09:01 +0000)
commit1211907ac0b5f35e5720620c50b7ca3c72d81f7e
tree65272e193cb6d01a93fe747693ece9b7aee437f0
parent9e5dd49de5d82401e92098c03e0a0e978ddd515a
tracing: Generate undef symbols allowlist for simple_ring_buffer

Compiler and tooling-generated symbols are difficult to maintain
across all supported architectures. Make the allowlist more robust by
replacing the harcoded list with a mechanism that automatically detects
these symbols.

This mechanism generates a C function designed to trigger common
compiler-inserted symbols.

Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Tested-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260316092845.3367411-1-vdonnefort@google.com
[maz: added __msan prefix to allowlist as pointed out by Arnd]
Signed-off-by: Marc Zyngier <maz@kernel.org>
kernel/trace/Makefile