[PATCH bpf-next 0/3] selftests/bpf: Fix tests on non-x86 architectures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
2.34.1




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux