Searched hist:c2e59d1f4df8783856a4e6a05a7d4a76d7cf7082 (Results 1 – 2 of 2) sorted by relevance
/linux/arch/csky/kernel/probes/ |
H A D | uprobes.c | c2e59d1f4df8783856a4e6a05a7d4a76d7cf7082 Tue Apr 14 12:14:12 UTC 2020 Guo Ren <guoren@linux.alibaba.com> 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>
|
/linux/arch/csky/kernel/ |
H A D | ptrace.c | c2e59d1f4df8783856a4e6a05a7d4a76d7cf7082 Tue Apr 14 12:14:12 UTC 2020 Guo Ren <guoren@linux.alibaba.com> 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>
|