OpenCloudOS-Kernel/arch/riscv/kernel/probes
Ze Gao 571a2a50a8 rethook, fprobe: do not trace rethook related functions
These functions are already marked as NOKPROBE to prevent recursion and
we have the same reason to blacklist them if rethook is used with fprobe,
since they are beyond the recursion-free region ftrace can guard.

Link: https://lore.kernel.org/all/20230517034510.15639-5-zegao@tencent.com/

Fixes: f3a112c0c4 ("x86,rethook,kprobes: Replace kretprobe with rethook on x86")
Signed-off-by: Ze Gao <zegao@tencent.com>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
2023-05-18 07:08:01 +09:00
..
Makefile rethook, fprobe: do not trace rethook related functions 2023-05-18 07:08:01 +09:00
decode-insn.c riscv: kprobes: implement the branch instructions 2021-07-21 23:22:34 -07:00
decode-insn.h
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 Merge patch series "dt-bindings: Add a cpu-capacity property for RISC-V" 2023-02-14 19:29:46 -08:00
simulate-insn.h RISC-V: move some stray __RISCV_INSN_FUNCS definitions from kprobes 2023-02-15 20:32:31 -08:00
uprobes.c riscv:uprobe fix SR_SPIE set/clear handling 2022-08-11 14:14:52 -07:00