Misc libbpf fixes and small improvements
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 9 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | selftests/bpf: prevent skeleton generation racetools/ | +5 | 0 replies | Applied |
| 2/9 | libbpf: make __kptr and __kptr_ref unconditionally use btf_type_tag() attrtools/ | +0 | 2 replies | Applied |
| 3/9 | libbpf: improve usability of field-based CO-RE helperstools/ | +21 | 0 replies | Applied |
| 4/9 | selftests/bpf: use both syntaxes for field-based CO-RE helperstools/ tools/ | +9 | 0 replies | Applied |
| 5/9 | libbpf: complete field-based CO-RE helpers with field offset helpertools/ | +12 | 0 replies | Applied |
| 6/9 | selftests/bpf: add bpf_core_field_offset() teststools/ tools/ tools/ +1 more | +56 | 0 replies | Applied |
| 7/9 | libbpf: provide barrier() and barrier_var() in bpf_helpers.htools/ tools/ tools/ +3 more | +24 | 0 replies | Applied |
| 8/9 | libbpf: automatically fix up BPF_MAP_TYPE_RINGBUF size, if necessarytools/ | +41 | 2 replies | Applied |
| 9/9 | selftests/bpf: test libbpf's ringbuf size fix up logictools/ tools/ | +2 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next 0/9] Misc libbpf fixes and small improvements
This patch set is a mix of mostly mutually unrelated libbpf and selftests fixes and improvements. Individual patches provide details on each one.
Andrii Nakryiko (9):
selftests/bpf: prevent skeleton generation race
libbpf: make __kptr and __kptr_ref unconditionally use btf_type_tag()
attr
libbpf: improve usability of field-based CO-RE helpers selftests/bpf: use both syntaxes for field-based CO-RE helpers
libbpf: complete field-based CO-RE helpers with field offset helper selftests/bpf: add bpf_core_field_offset() tests
libbpf: provide barrier() and barrier_var() in bpf_helpers.h
libbpf: automatically fix up BPF_MAP_TYPE_RINGBUF size, if necessary selftests/bpf: test libbpf's ringbuf size fix up logic
tools/lib/bpf/bpf_core_read.h | 37 ++++++++++++++-- tools/lib/bpf/bpf_helpers.h | 29 ++++++++++--- tools/lib/bpf/libbpf.c | 42 ++++++++++++++++++- tools/testing/selftests/bpf/Makefile | 10 ++--- .../selftests/bpf/prog_tests/core_reloc.c | 13 +++++- .../selftests/bpf/prog_tests/ringbuf_multi.c | 12 ------ .../progs/btf__core_reloc_size___diff_offs.c | 3 ++ .../selftests/bpf/progs/core_reloc_types.h | 18 ++++++++ .../selftests/bpf/progs/exhandler_kern.c | 2 - tools/testing/selftests/bpf/progs/loop5.c | 1 - tools/testing/selftests/bpf/progs/profiler1.c | 1 - tools/testing/selftests/bpf/progs/pyperf.h | 2 - .../bpf/progs/test_core_reloc_existence.c | 11 +++-- .../bpf/progs/test_core_reloc_size.c | 31 ++++++++++++-- .../selftests/bpf/progs/test_pkt_access.c | 2 - .../selftests/bpf/progs/test_ringbuf_multi.c | 2 + 16 files changed, 169 insertions(+), 47 deletions(-) create mode 100644 tools/testing/selftests/bpf/progs/btf__core_reloc_size___diff_offs.c
Signature · 1 line
2.30.2