Skip to content

Two libbpf RB walk improvements

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bpf, libbpf: use proper barriers in perf RB walktools/lib/bpf/libbpf.c+46 -60 replies
2/2bpf, libbpf: simplify perf RB walk and do incremental updatestools/bpf/bpftool/map_perf_ring.c tools/lib/bpf/libbpf.c tools/lib/bpf/libbpf.h +1 more+53 -554 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/2] Two libbpf RB walk improvements

Two small improvements to libbpf's perf RB walk: first one fixes used barriers and second one simplifies ring walking code. For details see individual patches.

Thanks!

Daniel Borkmann (2):
bpf, libbpf: use proper barriers in perf RB walk bpf, libbpf: simplify perf RB walk and do incremental updates

 tools/bpf/bpftool/map_perf_ring.c           |  10 ++-
 tools/lib/bpf/libbpf.c                      | 117 ++++++++++++++++++----------
 tools/lib/bpf/libbpf.h                      |  14 ++--
 tools/testing/selftests/bpf/trace_helpers.c |   7 +-
 4 files changed, 93 insertions(+), 55 deletions(-)
Signature · 1 line
2.9.5