Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: runtime: fix kprobe_offset_module* on aarch64
For kprobe_offset_module: On aarch64, +0x5 is not a correct offset. Since +0x4 is reserved by ftrace, the test should use +0x8, which is the same as ppc64. For kprobe_offset_module_error: nft_trans_alloc_gfp is not in vmlinux so usermode offset check is skipped. The kernel will return -EINVAL instead of -EILSEQ during arch_prepare_kprobe() on aarch64, so change the expected string. Signed-off-by: Tianchen Ding <dtcccc@linux.alibaba.com>
- Loading branch information