mbox series

[bpf-next,0/3] samples/bpf: A couple s390 fixes

Message ID 20200728120059.132256-1-iii@linux.ibm.com
Headers show
Series samples/bpf: A couple s390 fixes | expand

Message

Ilya Leoshkevich July 28, 2020, noon UTC
This series contains small fixes that make samples work on s390:

Patch 1: Fix building M=samples/bpf with O=.
Patch 2: Use more portable __sys_connect instead of
         SYSCALL(sys_connect).
Patch 3: Use bpf_probe_read_kernel instead of bpf_probe_read in
         libbpf.

Ilya Leoshkevich (3):
  samples/bpf: Fix building out of srctree
  samples/bpf: Fix test_map_in_map on s390
  libbpf: Use bpf_probe_read_kernel

 samples/bpf/Makefile               |  1 +
 samples/bpf/test_map_in_map_kern.c |  7 ++--
 tools/lib/bpf/bpf_core_read.h      | 51 ++++++++++++++++--------------
 tools/lib/bpf/bpf_tracing.h        | 15 ++++++---
 4 files changed, 41 insertions(+), 33 deletions(-)