OpenCloudOS-Kernel/arch/riscv/kernel/probes
Nam Cao d943705fba
riscv: kprobes: simulate c.beqz and c.bnez
kprobes currently rejects instruction c.beqz and c.bnez. Implement them.

Signed-off-by: Nam Cao <namcaov@gmail.com>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Link: https://lore.kernel.org/r/1d879dba4e4ee9a82e27625d6483b5c9cfed684f.1690704360.git.namcaov@gmail.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2023-08-16 07:48:40 -07:00
..
Makefile rethook, fprobe: do not trace rethook related functions 2023-05-18 07:08:01 +09:00
decode-insn.c riscv: kprobes: simulate c.beqz and c.bnez 2023-08-16 07:48:40 -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 bpf-next-for-netdev 2023-02-20 16:31:14 -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: simulate c.beqz and c.bnez 2023-08-16 07:48:40 -07:00
simulate-insn.h riscv: kprobes: simulate c.beqz and c.bnez 2023-08-16 07:48:40 -07:00
uprobes.c riscv: uprobes: Restore thread.bad_cause 2023-06-20 08:20:23 -07:00