libbpf: BTF field iterator
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 · linked by author and title
- v2 Latest5 patches 3 repliesApplied 5/5
- v15 patches 8 repliesSuperseded
Changes in v2 from the cover letter
- t_cnt -> t_off_cnt, m_cnt -> m_off_cnt (Eduard);
- simpified code in linker.c (Jiri);rfcv1->v1:
- check errors when initializing iterators (Jiri);
- split RFC patch into separate patches.
Patches in v2 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | libbpf: add BTF field iteratortools/ tools/ | +186 | 0 replies | Applied |
| 2/5 | libbpf: make use of BTF field iterator in BPF linker codetools/ tools/ tools/ | +40 | 0 replies | Applied |
| 3/5 | libbpf: make use of BTF field iterator in BTF handling codetools/ | +54 | 0 replies | Applied |
| 4/5 | bpftool: use BTF field iterator in btfgentools/ | +6 | 1 reply | Applied |
| 5/5 | libbpf: remove callback-based type/string BTF field visitor helperstools/ tools/ | +0 | 0 replies | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Eduard Zingerman | Jiri Olsa | Quentin Monnet | Alan Maguire |
|---|---|---|---|---|
| Series | A-b | T-b | ||
| 1/5 | A-b | |||
| 2/5 | A-b | A-b | ||
| 3/5 | A-b | |||
| 4/5 | A-b | R-b | ||
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v2 bpf-next 0/5] libbpf: BTF field iterator
Add BTF field (type and string fields, right now) iterator support instead of using existing callback-based approaches, which make it harder to understand and support BTF-processing code.
v1->v2:
- t_cnt -> t_off_cnt, m_cnt -> m_off_cnt (Eduard);
- simpified code in linker.c (Jiri);rfcv1->v1:
- check errors when initializing iterators (Jiri);
- split RFC patch into separate patches.
Andrii Nakryiko (5):
libbpf: add BTF field iterator
libbpf: make use of BTF field iterator in BPF linker code
libbpf: make use of BTF field iterator in BTF handling code
bpftool: use BTF field iterator in btfgen
libbpf: remove callback-based type/string BTF field visitor helpers
tools/bpf/bpftool/gen.c | 16 +- tools/lib/bpf/btf.c | 328 +++++++++++++++++++------------- tools/lib/bpf/libbpf_internal.h | 26 ++- tools/lib/bpf/linker.c | 58 +++--- 4 files changed, 262 insertions(+), 166 deletions(-)
Signature · 1 line
2.43.0