]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tracing: Adjust cmd_check_undefined to show unexpected undefined symbols
authorNathan Chancellor <nathan@kernel.org>
Fri, 20 Mar 2026 21:29:33 +0000 (14:29 -0700)
committerMarc Zyngier <maz@kernel.org>
Mon, 23 Mar 2026 09:22:22 +0000 (09:22 +0000)
commit58b4bd18390ec3118d8577e19bdee0d01d40c31e
tree405fcc5faabc3116f3f4d8c50b21e00a9ae38dfc
parentd7729643942325933508274f0392b749ca74f7cc
tracing: Adjust cmd_check_undefined to show unexpected undefined symbols

When the check_undefined command in kernel/trace/Makefile fails, there
is no output, making it hard to understand why the build failed. Capture
the output of the $(NM) + grep command and print it when failing to make
it clearer what the problem is.

Fixes: a717943d8ecc ("tracing: Check for undefined symbols in simple_ring_buffer")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Vincent Donnefort <vdonnefort@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260320-cmd_check_undefined-verbose-v1-1-54fc5b061f94@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
kernel/trace/Makefile