diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2020-04-14 15:14:12 +0300 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-05-13 12:55:05 +0300 |
commit | c2e59d1f4df8783856a4e6a05a7d4a76d7cf7082 (patch) | |
tree | b4668a9c98af02140494cb7ae5ee84702f3d5c22 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bd11aabd35287b6961d197539aa61da5ab8fc0d7 (diff) | |
download | linux-c2e59d1f4df8783856a4e6a05a7d4a76d7cf7082.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions