OpenCloudOS-Kernel/arch/riscv/kernel/probes
Binglei Wang b57c2f1240
riscv: add riscv rethook implementation
Implement the kretprobes on riscv arch by using rethook machenism
which abstracts general kretprobe info into a struct rethook_node
to be embedded in the struct kretprobe_instance.

Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Binglei Wang <l3b2w1@gmail.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20221025151831.1097417-1-conor@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-12-02 13:04:05 -08:00
..
Makefile riscv: add riscv rethook implementation 2022-12-02 13:04:05 -08:00
decode-insn.c riscv: kprobes: implement the branch instructions 2021-07-21 23:22:34 -07:00
decode-insn.h riscv: Add kprobes supported 2021-01-14 15:09:06 -08:00
ftrace.c ftrace: disable preemption when recursion locked 2021-10-27 11:21:49 -04:00
kprobes.c riscv: add riscv rethook implementation 2022-12-02 13:04:05 -08:00
rethook.c riscv: add riscv rethook implementation 2022-12-02 13:04:05 -08:00
rethook.h riscv: add riscv rethook implementation 2022-12-02 13:04:05 -08:00
rethook_trampoline.S riscv: add riscv rethook implementation 2022-12-02 13:04:05 -08:00
simulate-insn.c riscv: kprobes: implement the branch instructions 2021-07-21 23:22:34 -07:00
simulate-insn.h riscv: Add kprobes supported 2021-01-14 15:09:06 -08:00
uprobes.c riscv:uprobe fix SR_SPIE set/clear handling 2022-08-11 14:14:52 -07:00