Re: [PATCH v2 00/27] function_graph: Allow multiple users for function graph tracing

Steven Rostedt
2024-06-02T03:44:14Z

On Sat, 01 Jun 2024 23:37:44 -0400
Steven Rostedt <rostedt@goodmis.org> wrote:

> hanges since v1: https://lore.kernel.org/linux-trace-kernel/20240525023652.903909489@goodmis.org/
>
> - Added ftrace helpers to allow an ftrace_ops to be a subop of a
> managing ftrace_op. That is, the managing ftrace_op will enable
> functions based off of the filters of the subops beneath it.
> This could be extended for kprobes and fprobes, as the managing
> ops does the multiplexing for the subops. This allows for only
> adding a single callback to ftrace but have multiple ops that
> represent many users.
>
> - At the end, I added static branch which also speeds up the
> code quite a bit.

Also added:

- A couple of kselftests.

-- Steve