Re: linux-next: build warnings after merge of the tip tree

Masami Hiramatsu
2022-03-22T12:46:41Z

On Tue, 22 Mar 2022 13:17:18 +0100
Peter Zijlstra <peterz@infradead.org> wrote:

> On Tue, Mar 22, 2022 at 02:31:36PM +0900, Masami Hiramatsu wrote:
>
> > > But I still think it's fairly terrible to get a (flawed) carbon copy of
> > > the kretprobe code.
> >
> > Indeed. I would like to replace the trampoline code of kretprobe with
> > rethook, eventually. There is no reason why we keep the clone.
> > (But I need more arch maintainers help for that, there are too many
> > archs implemented kretprobes)
>
> CONFIG_KPROBE_ON_RETHOOK - and then implement archs one by one?

Sounds good! Maybe we will see different data structure fields
which depends on that config, but those are internal fields, so
user will not access it.

Thank you,

--
Masami Hiramatsu <mhiramat@kernel.org>