On Fri, Feb 4, 2022 at 3:36 AM Naveen N. Rao <naveen.n.rao@xxxxxxxxxxxxxxxxxx> wrote: > > The first patch fixes an issue with bpf_syscall_macro test to work > properly on architectures that don't have a syscall wrapper. The second > patch updates SYS_PREFIX for architectures without a syscall wrapper. > The final patch fixes some of the tests to use correct syscall entry > names on non-x86 architectures. > > - Naveen > > > Naveen N. Rao (3): > selftests/bpf: Use correct pt_regs on architectures without syscall > wrapper > selftests/bpf: Use "__se_" prefix on architectures without syscall > wrapper > selftests/bpf: Fix tests to use arch-dependent syscall entry points > Ilya's patch set made the first patch unnecessary, but I've applied 2nd and 3rd to bpf-next, thanks! > tools/testing/selftests/bpf/progs/bloom_filter_bench.c | 7 ++++--- > tools/testing/selftests/bpf/progs/bloom_filter_map.c | 5 +++-- > tools/testing/selftests/bpf/progs/bpf_loop.c | 9 +++++---- > tools/testing/selftests/bpf/progs/bpf_loop_bench.c | 3 ++- > tools/testing/selftests/bpf/progs/bpf_misc.h | 2 +- > tools/testing/selftests/bpf/progs/bpf_syscall_macro.c | 4 ++++ > tools/testing/selftests/bpf/progs/fexit_sleep.c | 9 +++++---- > tools/testing/selftests/bpf/progs/perfbuf_bench.c | 3 ++- > tools/testing/selftests/bpf/progs/ringbuf_bench.c | 3 ++- > tools/testing/selftests/bpf/progs/test_ringbuf.c | 3 ++- > tools/testing/selftests/bpf/progs/trace_printk.c | 3 ++- > tools/testing/selftests/bpf/progs/trace_vprintk.c | 3 ++- > tools/testing/selftests/bpf/progs/trigger_bench.c | 9 +++++---- > 13 files changed, 39 insertions(+), 24 deletions(-) > > > base-commit: 227a0713b319e7a8605312dee1c97c97a719a9fc > -- > 2.34.1 >