criu/compel
fu.lin bb73e1cf5a breakpoint: implement hw breakpoint for arm64 platform
The x86 implement hardware breakpoint to accelerate the tracing syscall
procedure instead of `ptrace(PTRACE_SYSCALL)`. The arm64 has the same
capability according to <<Learn the architecture: Armv8-A self-hosted
debug>>[[1]].

<<Arm Architecture Reference Manual for A-profile architecture>[[2]]
illustrates the usage detailly:
- D2.8 Breakpoint Instruction exceptions
- D2.9 Breakpoint exceptions
- D13.3.2 DBGBCR<n>_EL1, Debug Breakpoint Control Registers, n

Note:
[1]: https://developer.arm.com/documentation/102120/0100
[2]: https://developer.arm.com/documentation/ddi0487/latest

Signed-off-by: fu.lin <fulin10@huawei.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
2023-04-15 21:17:21 -07:00
..
arch breakpoint: implement hw breakpoint for arm64 platform 2023-04-15 21:17:21 -07:00
include compel: set TRACESYSGOOD to distinguish breakpoints from syscalls 2023-04-15 21:17:21 -07:00
plugins kerndat: check whether the openat2 syscall is supported 2022-04-28 17:53:52 -07:00
src compel: clear a breakpoint right after it's been triggered 2023-04-15 21:17:21 -07:00
test Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
.gitignore compel: adapt .gitgnore for aarch64 and ppc64le 2017-08-09 18:51:42 +03:00
compel-host compel cli: show includes 2017-03-15 00:09:55 +03:00
Makefile x86: Use PTRACE_GET_THREAD_AREA instead of sys_get_thread_area() 2021-09-03 10:31:00 -07:00