Re: [PATCH] kretprobe: produce sane stack traces

From: Steven Rostedt
Date: Wed Oct 31 2018 - 09:03:28 EST


On Tue, 30 Oct 2018 10:12:06 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> Anyway, until that merge happens, this patch looks good to avoid
> this issue for generic solution (e.g. for the arch which doesn't
> supports retstack).

I think its time to come up with an algorithm that makes function graph
work with multiple users, and have kretprobes be able to hook into it
just like kprobes hooks into function tracer.

I have some ideas on how to get this done, and will try to have an RFC
patch set ready by plumbers.

-- Steve