Thread (15 messages) 15 messages, 5 authors, 2025-10-21

Re: [PATCH v9 2/4] tracing: Add a tracepoint verification check at build time

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-10-15 23:14:50
Also in: linux-kbuild, lkml

On Wed, 15 Oct 2025 16:12:19 -0700
Nathan Chancellor [off-list ref] wrote:
Hi Steve,

The kbuild portions of this seem fine, as they mirror existing patterns.

On Wed, Oct 15, 2025 at 04:38:44PM -0400, Steven Rostedt wrote:
quoted
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 8a9a2e732a65..08ca759fb992 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -1048,6 +1048,7 @@ defined(CONFIG_AUTOFDO_CLANG) || defined(CONFIG_PROPELLER_CLANG)
 	*(.no_trim_symbol)						\
 	/* ld.bfd warns about .gnu.version* even when not emitted */	\
 	*(.gnu.version*)						\
+	*(__tracepoint_check)  
Please add a trailing slash like the other lines so that one does not
need to be added when someone else needs to grow this macro (also helps
with 'git blame').
Sure thing! Thanks for looking at these patches!

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help