Re: [PATCH] riscv/kprobe: fix kernel panic when invoking sys_read traced by kprobe

2021-04-12 Thread Jisheng Zhang
On Fri, 9 Apr 2021 12:16:26 +0800 "liaochang (A)" wrote: > > > 在 2021/4/8 19:20, Jisheng Zhang 写道: > > On Tue, 30 Mar 2021 16:18:48 +0800 > > Liao Chang wrote: > > > > > >> > >> The execution of sys_read end up hitting a BUG_ON() in __find_get_block > >> after installing kprobe at

Re: [PATCH] riscv/kprobe: fix kernel panic when invoking sys_read traced by kprobe

2021-04-08 Thread liaochang (A)
在 2021/4/8 19:20, Jisheng Zhang 写道: > On Tue, 30 Mar 2021 16:18:48 +0800 > Liao Chang wrote: > > >> >> The execution of sys_read end up hitting a BUG_ON() in __find_get_block >> after installing kprobe at sys_read, the BUG message like the following: >> >> [ 65.708663] [ cut

Re: [PATCH] riscv/kprobe: fix kernel panic when invoking sys_read traced by kprobe

2021-04-08 Thread Jisheng Zhang
On Tue, 30 Mar 2021 16:18:48 +0800 Liao Chang wrote: > > The execution of sys_read end up hitting a BUG_ON() in __find_get_block > after installing kprobe at sys_read, the BUG message like the following: > > [ 65.708663] [ cut here ] > [ 65.709987] kernel BUG at

[PATCH] riscv/kprobe: fix kernel panic when invoking sys_read traced by kprobe

2021-03-30 Thread Liao Chang
The execution of sys_read end up hitting a BUG_ON() in __find_get_block after installing kprobe at sys_read, the BUG message like the following: [ 65.708663] [ cut here ] [ 65.709987] kernel BUG at fs/buffer.c:1251! [ 65.711283] Kernel BUG [#1] [ 65.712032] Modules