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

Peter Zijlstra
2022-03-22T12:17:40Z

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?