Re: [PATCH v2] tracing/eprobe: Iterate trace_eprobe directly

From: Google
Date: Fri Aug 18 2023 - 07:04:07 EST


On Wed, 16 Aug 2023 16:08:50 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Sat, 12 Aug 2023 14:20:19 +0900
> Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
>
> > > At a minimum, let's call it:
> > >
> > > for_each_trace_point_eprobe()
> >
> > OK, what about "for_each_trace_eprobe_on()"? I would like to clarify
> >
> > - what type is returned
> > - not all trace_eprobes, but only on the trace_probe.
> >
> > Thank you,
>
> for_each_trace_eprobe_tp() or for_each_trace_tp_eprobe() ?

for_each_trace_eprobe_tp() is OK for me.

Thanks!

>
> As it only works for a trace_probe.
>
> -- Steve


--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>