Re: [RFC][PATCH 00/14 v2] function_graph: Rewrite to allow multiple users

From: Steven Rostedt
Date: Sat Jun 08 2019 - 02:33:56 EST


On Thu, 30 May 2019 18:29:20 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> > OK, so this series isn't enough to allow kretprobes to use it yet. OK,
> > I plan on still keeping it because it does allow for placing function
> > graph tracer into instances with their own filters.
>
> OK, that will be a "regs" extension.
> >
> > I'll look into adding a REGS flag like we do with ftrace_ops.
> >
> > Does the return need all regs? Or is just the return code good enough?
>
> Since it depends on arch, I think all regs we need. And for the entry
> handler, we need all.

When I get back home, I'm going to push this series to linux-next. And
then I'll start adding the REGS extension for the next Linux release
after this series gets in.

Thanks for looking at it.

-- Steve