Re: [PATCH] tracing: 'select' GENERIC_TRACER, not 'depends'
From: Brian Norris
Date: Tue Nov 17 2026 - 12:45:44 EST
On Tue, Nov 17, 2026 at 08:53:17AM -0500, Steven Rostedt wrote:
> On Mon, 16 Nov 2026 14:46:53 -0800
> Brian Norris <briannorris@xxxxxxxxxxxx> wrote:
>
> > GENERIC_TRACER is not a user-selectable symbol, so it's impossible to
> > enable FTRACE_STARTUP_TEST unless one also enables some other symbol
> > that 'selects' GENERIC_TRACER for us.
>
> I believe that was the way it was intended. The selftests are to test the
> things that select GENERIC_TRACER. Why would we enable tests for something
> that isn't enabled?
You may have discovered in your other reply, but these tests are
applicable to code used by EVENT_TRACING, which can be enabled without
GENERIC_TRACER.
But I do see how this still might not be exactly the right choice,
especially given some of sashiko's comments.
Brian