Re: [PATCH 13/18] tracing: Add array type to function based events

From: Masami Hiramatsu
Date: Sat Feb 03 2018 - 22:50:49 EST


On Sat, 3 Feb 2018 10:29:03 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Sat, 3 Feb 2018 22:56:15 +0900
> Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>
> > This idea looks good for kprobe events too.
> > I'll try to implement same one :)
>
> We should have the two re-use the same code.
>
> In other words, I would like as much code sharing as possible.

Finally it will be, but currently the code base is too far.
I would like to implement it on current code for avoiding
break anything, but refactoring afterwards.

I think current fetch function implementation may be too heavy
with retpoline. I would like to reimplement it with eBPF :)

Thank you,

>
> -- Steve


--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>