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

From: Steven Rostedt
Date: Sat Jun 01 2024 - 23:44:24 EST


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

> hanges since v1: https://lore.kernel.org/linux-trace-kernel/20240525023652.903909489@xxxxxxxxxxx/
>
> - 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