Skip to content

samples/bpf: A couple s390 fixes

Ilya Leoshkevich bpf 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3samples/bpf: Fix building out of srctreesamples/bpf/Makefile+1 -03 replies
2/3samples/bpf: Fix test_map_in_map on s390samples/bpf/test_map_in_map_kern.c+3 -42 replies
3/3libbpf: Use bpf_probe_read_kerneltools/lib/bpf/bpf_core_read.h tools/lib/bpf/bpf_tracing.h+37 -2912 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf-next 0/3] samples/bpf: A couple s390 fixes

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(-)
Signature · 1 line
2.25.4