Re: [PATCH v5 00/12] tracing: fprobe: rethook: Use ftrace_regs instead of pt_regs

From: Alexei Starovoitov
Date: Fri Sep 29 2023 - 20:12:25 EST


On Thu, Sep 28, 2023 at 6:21 PM Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>
>
> Thus, what I need is to make fprobe to use function-graph tracer's shadow
> stack and trampoline instead of rethook. This may need to generalize its
> interface so that we can share it between fprobe and function-graph tracer,
> but we don't need to involve rethook and kretprobes anymore.

...

> And need to add patches
>
> - Introduce a generized function exit hook interface for ftrace.
> - Replace rethook in fprobe with the function exit hook interface.

you mean that rethook will be removed after that?