[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHk-=whgSradO-F6XGH+fRRoO3wwzWjZ_m7Z+m2aTVPxwPrsog@mail.gmail.com>
Date: Tue, 22 Jul 2025 11:12:17 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Steven Rostedt <rostedt@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org,
linux-kbuild@...r.kernel.org, llvm@...ts.linux.dev,
Masami Hiramatsu <mhiramat@...nel.org>, Mark Rutland <mark.rutland@....com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>, Andrew Morton <akpm@...ux-foundation.org>,
Arnd Bergmann <arnd@...db.de>, Masahiro Yamada <masahiroy@...nel.org>,
Nathan Chancellor <nathan@...nel.org>, Nicolas Schier <nicolas.schier@...ux.dev>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>, Catalin Marinas <catalin.marinas@....com>
Subject: Re: [PATCH v3 1/5] tracepoints: Add verifier that makes sure all
defined tracepoints are used
On Tue, 22 Jul 2025 at 10:04, Steven Rostedt <rostedt@...nel.org> wrote:
>
> I kept this to verify that the build time worked too, as the runtime
> check is so much simpler and easier to implement.
Honestly, do it for your 8own private verification.
Don't sent out the patch and expect anybody else to care.
The static verification may make sense. Adding code to the kernel just
to then do runtime verification does NOT.
This is not a "criticcal correctness" issue. This is a "help make
people not waste memory pointlessly by having tracepoints that aren't
used"
There is *NO* reason to add kernel code for this. Zero. Nada. None.
Linus
Powered by blists - more mailing lists