Re: [PATCH v5 00/21] kprobes: Unify kretprobe trampoline handlers and make kretprobe lockless

From: peterz
Date: Tue Sep 08 2020 - 07:46:33 EST


On Tue, Sep 08, 2020 at 11:15:14AM +0000, Eddy_Wu@xxxxxxxxxxxxxx wrote:
> > From: peterz@xxxxxxxxxxxxx <peterz@xxxxxxxxxxxxx>
> >
> > I'm now trying and failing to reproduce.... I can't seem to make it use
> > int3 today. It seems to want to use ftrace or refuses everything. I'm
> > probably doing it wrong.
> >
>
> You can turn off CONFIG_KPROBES_ON_FTRACE (and also sysctl
> debug.kprobes-optimization) to make it use int3 handler

I'm fairly sure I used the sysctl like in your original reproducer.

I'll try again later.