Re: [PATCH] tracing: Adjust cmd_check_undefined to show unexpected undefined symbols

From: Arnd Bergmann

Date: Fri Mar 20 2026 - 17:37:36 EST


On Fri, Mar 20, 2026, at 22:29, Nathan Chancellor wrote:
> 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@xxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

This does seem very helpful, as I still expect this to come up regularly.

Arnd