1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/csky/kernel/probes
Guo Ren c2e59d1f4d csky: Fixup perf probe -x hungup
case:
 # perf probe -x /lib/libc-2.28.9000.so memcpy
 # perf record -e probe_libc:memcpy -aR sleep 1

System hangup and cpu get in trap_c loop, because our hardware
singlestep state could still get interrupt signal. When we get in
uprobe_xol singlestep slot, we should disable irq in pt_regs->psr.

And is_swbp_insn() need a csky arch implementation with a low 16bit
mask.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
2020-05-13 17:55:05 +08:00
..
decode-insn.c csky: Add kprobes supported 2020-04-03 11:14:17 +08:00
decode-insn.h csky: Add kprobes supported 2020-04-03 11:14:17 +08:00
ftrace.c csky: Add kprobes supported 2020-04-03 11:14:17 +08:00
kprobes.c csky: Add kprobes supported 2020-04-03 11:14:17 +08:00
kprobes_trampoline.S csky: Add kprobes supported 2020-04-03 11:14:17 +08:00
Makefile csky: Add uprobes support 2020-04-03 11:37:51 +08:00
simulate-insn.c csky: Add kprobes supported 2020-04-03 11:14:17 +08:00
simulate-insn.h csky: Add kprobes supported 2020-04-03 11:14:17 +08:00
uprobes.c csky: Fixup perf probe -x hungup 2020-05-13 17:55:05 +08:00