libbpf: Streamline internal BPF program sections handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | selftests/bpf: update selftests to always provide "struct_ops" SECtools/ | +3 | 1 reply | |
| 2/4 | libbpf: ensure BPF prog types are set before relocationstools/ | +51 | 1 reply | |
| 3/4 | libbpf: simplify BPF program auto-attach codetools/ | +22 | 1 reply | |
| 4/4 | libbpf: minimize explicit iterator of section definition arraytools/ | +19 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Martin KaFai Lau |
|---|---|
| 1/4 | A-b |
| 2/4 | A-b |
| 3/4 | A-b |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/4] libbpf: Streamline internal BPF program sections handling
This small patch set performs internal refactorings around libbpf BPF program ELF section definitions' handling. This is preparatory changes for further changes around making libbpf BPF program section handling more strict but also pluggable and customizable, as part of the libbpf 1.0 effort. See individual patches for details.
Andrii Nakryiko (4):
selftests/bpf: update selftests to always provide "struct_ops" SEC
libbpf: ensure BPF prog types are set before relocations
libbpf: simplify BPF program auto-attach code
libbpf: minimize explicit iterator of section definition array
tools/lib/bpf/libbpf.c | 200 ++++++++---------- tools/testing/selftests/bpf/progs/bpf_cubic.c | 12 +- 2 files changed, 95 insertions(+), 117 deletions(-)
Signature · 1 line
2.30.2