diff options
author | Jisheng Zhang <[email protected]> | 2021-03-30 02:14:40 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2021-04-15 21:32:34 -0700 |
commit | e31be8d343e64e7ab17aef55c1d1b36dc504da67 (patch) | |
tree | ddaad7d4e24b5d2ff2f63069e0be6482a5d0af14 /scripts/gdb/linux/tasks.py | |
parent | 2349a3b26e29b8d860466bafda2e02b4b87a9e40 (diff) |
riscv: kprobes/ftrace: Add recursion protection to the ftrace callback
Currently, the riscv's kprobes(powerred by ftrace) handler is
preemptible. Futher check indicates we miss something similar as the
commit c536aa1c5b17 ("kprobes/ftrace: Add recursion protection to the
ftrace callback"), so do similar modifications as the commit does.
Fixes: 829adda597fe ("riscv: Add KPROBES_ON_FTRACE supported")
Cc: [email protected]
Signed-off-by: Jisheng Zhang <[email protected]>
Reviewed-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions