diff options
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | 2022-02-04 14:35:19 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-02-07 19:05:17 +0300 |
commit | 046b841ea7c528931e7d2e74d5e668aa6c94c1fc (patch) | |
tree | dfea1dbeb61b43702b051b577cf2ae939eff44e8 /tools/testing/selftests/bpf/progs/bpf_loop.c | |
parent | 0908a66ad1124c1634c33847ac662106f7f2c198 (diff) | |
download | linux-046b841ea7c528931e7d2e74d5e668aa6c94c1fc.tar.xz |
selftests/bpf: Use "__se_" prefix on architectures without syscall wrapper
On architectures that don't use a syscall wrapper, sys_* function names
are set as an alias of __se_sys_* functions. Due to this, there is no
BTF associated with sys_* function names. This results in some of the
test progs failing to load. Set the SYS_PREFIX to "__se_" to fix this
issue.
Fixes: 38261f369fb905 ("selftests/bpf: Fix probe_user test failure with clang build kernel")
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/013d632aacd3e41290445c0025db6a7055ec6e18.1643973917.git.naveen.n.rao@linux.vnet.ibm.com
Diffstat (limited to 'tools/testing/selftests/bpf/progs/bpf_loop.c')
0 files changed, 0 insertions, 0 deletions