Re: [PATCH -v5 00/17] Rewrite x86/ftrace to use text_poke (and more)

From: Alexei Starovoitov
Date: Tue Nov 26 2019 - 23:35:27 EST


On Tue, Nov 26, 2019 at 4:03 PM Alexei Starovoitov
<alexei.starovoitov@xxxxxxxxx> wrote:
>
>
>
> On Tue, Nov 26, 2019 at 3:49 PM Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>>
>> On Tue, 26 Nov 2019 18:58:09 +0900
>> Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>> > I applied following patch, but it seems not enough. While disabling 256 kprobes,
>> > system was frozen (no BUG message).
>>
>> Aah, this is another bug in optprobe. I'll send a series for fix these bugs.
>
>
> Awesome! Iâve started looking at this crash as well.
> Could you share a brief description of the bug and cc me on fixes?
> Iâd like to test them too.
> Thanks

I noticed that your config doesn't have CONFIG_KPROBES_ON_FTRACE=y
and without it most test.d/kprobe/ tests fail, but in your log they are passing.
Also do you have KPROBE_EVENTS_ON_NOTRACE=y ?
Since without these two configs the crash wasn't reproducing for me.
Anyhow waiting for your fixes.