Re: [PATCH v4 1/4] tracing: sorttable: Add a tracepoint verification check at build time

From: Linus Torvalds
Date: Wed Jul 23 2025 - 18:34:21 EST


On Wed, 23 Jul 2025 at 15:27, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> You mean to also get rid of the TRACEPOINT_VERIFY_USED config?

Both of them, I think.

> But this will require that I change how it's done, as it doesn't look like
> it's available when sorttable.c is used.
>
> Looks like it will require a separate application to search the vmlinux.o
> instead of the vmlinux (which sorttable does).
>
> I could probably take some of the sorttable.c elf parsing and move that
> into a header that would share the code.

Hmm. Why not just make sorttable then use vmlinux.o?

No need to do it twice. Can't you just work on the original object
file before re-linking?

Linus