Re: [POC][RFC][PATCH 0/3] tracing: Add perf events to trace buffer
From: Steven Rostedt
Date: Tue Nov 18 2025 - 11:35:15 EST
On Tue, 18 Nov 2025 17:11:47 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
> > > If we need to set those counters for tracers and events separately,
> > > we can add `events/trigger` and `tracer-trigger` files.
> >
> > As I mentioned, the trigger for events should be in the events directory.
>
> Agreed.
>
> >
> > We could add a ftrace_trigger that can affect both function and
> > function graph tracer.
>
Actually, I should add "trigger" files in the ftrace events:
events/ftrace/function/trigger
events/ftrace/funcgraph_entry/tigger
events/ftrace/funcgraph_exit/tigger
Hmm,
-- Steve