selftests/bpf: Fix tests on non-x86 architectures
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | selftests/bpf: Use correct pt_regs on architectures without syscall wrappertools/ | +4 | 0 replies | |
| 2/3 | selftests/bpf: Use "__se_" prefix on architectures without syscall wrappertools/ | +1 | 0 replies | |
| 3/3 | selftests/bpf: Fix tests to use arch-dependent syscall entry pointstools/ tools/ tools/ +8 more | +34 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next 0/3] selftests/bpf: Fix tests on non-x86 architectures
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
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
Signature · 1 line
2.34.1