Re: [PATCH] fgraph: Keep track of when fgraph_ops are registered or not

From: Steven Rostedt
Date: Tue Jul 01 2025 - 18:28:31 EST


On Thu, 19 Jun 2025 12:45:17 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:

> > + out:
> > + gops->ops.flags = 0;
>
> Can we make it cleaning only FTRACE_OPS_FL_GRAPH flag here?
> Or, ops.flags should be set again before registering it?

At first I thought it shouldn't matter, as there shouldn't be any flags
set, but just in case, I'll just clear this one flag.

Thanks,

-- Steve