mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
selftests/bpf: Enable get_func_args and get_func_ip tests on arm64
Allow get_func_args, and get_func_ip fsession selftests to run on arm64. Acked-by: Puranjay Mohan <puranjay@kernel.org> Tested-by: Puranjay Mohan <puranjay@kernel.org> Signed-off-by: Leon Hwang <leon.hwang@linux.dev> Link: https://lore.kernel.org/r/20260131144950.16294-4-leon.hwang@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
parent
e3aa56b3ac
commit
7f10da2133
|
|
@ -167,7 +167,7 @@ int BPF_PROG(tp_test2)
|
|||
}
|
||||
|
||||
__u64 test7_result = 0;
|
||||
#ifdef __TARGET_ARCH_x86
|
||||
#if defined(bpf_target_x86) || defined(bpf_target_arm64)
|
||||
SEC("fsession/bpf_fentry_test1")
|
||||
int BPF_PROG(test7)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ int BPF_URETPROBE(test8, int ret)
|
|||
|
||||
__u64 test9_entry_result = 0;
|
||||
__u64 test9_exit_result = 0;
|
||||
#ifdef __TARGET_ARCH_x86
|
||||
#if defined(bpf_target_x86) || defined(bpf_target_arm64)
|
||||
SEC("fsession/bpf_fentry_test1")
|
||||
int BPF_PROG(test9, int a)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user