Re: [PATCH v4 1/4] tracing: sorttable: Add a tracepoint verification check at build time
From: Linus Torvalds
Date: Wed Jul 23 2025 - 16:32:25 EST
On Wed, 23 Jul 2025 at 12:42, Steven Rostedt <rostedt@xxxxxxxxxx> wrote:
>
> kernel/trace/Kconfig | 19 +++
Annoying "one step forward, two steps back" change.
You literally sent a "remove one pointless Kconfig option" patch
within ten minutes of sending out this "add two pointless Kconfig
options" patch.
Because as long as it's a build-time thing, please just fix the
problems it points out, and it should have no real cost to being
enabled.
We don't want to ask people questions that don't matter.
Of course, because you *used* to check this at run-time, you put the
new "__tracepoint_check" table in a section that is actually loaded
into memory, and it appears to be still there.
Just put it in the discard section, the same way we have (for example)
the export_symbols table that we also check at build-time without
actually ever making it part of the kernel.
Linus