Re: [PATCH v2 1/2] tracing: Have eprobes have their own config option
From: Google
Date: Wed Jul 30 2025 - 09:58:47 EST
On Wed, 30 Jul 2025 09:17:27 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> On Wed, 30 Jul 2025 19:11:01 +0900
> Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
>
> > Interesting, this find another issue. Since this is provided by
> > CONFIG_PROBE_EVENTS, we need to fix CONFIG_PROBE_EVENTS depending
> > on HAVE_REGS_AND_STACK_ACCESS_API.
> >
> > diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
> > index a3f35c7d83b6..cd239240b0ef 100644
> > --- a/kernel/trace/Kconfig
> > +++ b/kernel/trace/Kconfig
> > @@ -792,6 +792,7 @@ config DYNAMIC_EVENTS
> > def_bool n
> >
> > config PROBE_EVENTS
> > + depends on HAVE_REGS_AND_STACK_ACCESS_API
> > def_bool n
> >
> > config BPF_KPROBE_OVERRIDE
>
> OK, I'll send a v2.
>
> Did you want to take this in the tracing pull request?
>
> I see you already did the probe pull request.
Ah, I thought this was for the next one... (but I think it is a kind of bugfix?)
Thank you,
>
> -- Steve
--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>