Introduce BTF ID
Status from this message: Applied to bpf-next, thanks Martin!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | bpf: btf: Avoid WARN_ON when CONFIG_REFCOUNT_FULL=ykernel/ | +1 | 1 reply | |
| 2/6 | bpf: btf: Introduce BTF IDinclude/ include/ kernel/ +1 more | +128 | 1 reply | |
| 3/6 | bpf: btf: Add struct bpf_btf_infoinclude/ kernel/ kernel/ | +43 | 1 reply | |
| 4/6 | bpf: btf: Some test_btf clean uptools/ | +99 | 1 reply | |
| 5/6 | bpf: btf: Update tools/include/uapi/linux/btf.h with BTF IDtools/ | +11 | 1 reply | |
| 6/6 | bpf: btf: Tests for BPF_OBJ_GET_INFO_BY_FD and BPF_BTF_GET_FD_BY_IDtools/ tools/ tools/ | +287 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Alexei Starovoitov | Yonghong Song | Song Liu |
|---|---|---|---|
| 1/6 | T-b | A-b | |
| 2/6 | A-b | A-b | |
| 3/6 | A-b | A-b | |
| 4/6 | A-b | A-b | |
| 5/6 | A-b | A-b | |
| 6/6 | A-b | 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 3 reviewers.
Cover letter [PATCH bpf-next 0/6] Introduce BTF ID
This series introduces BTF ID which is exposed through the new BPF_BTF_GET_FD_BY_ID cmd, new "struct bpf_btf_info" and new members in the "struct bpf_map_info".
Please see individual patch for details.
Martin KaFai Lau (6):
bpf: btf: Avoid WARN_ON when CONFIG_REFCOUNT_FULL=y
bpf: btf: Introduce BTF ID
bpf: btf: Add struct bpf_btf_info
bpf: btf: Some test_btf clean up
bpf: btf: Update tools/include/uapi/linux/btf.h with BTF ID
bpf: btf: Tests for BPF_OBJ_GET_INFO_BY_FD and BPF_BTF_GET_FD_BY_ID
include/linux/btf.h | 2 + include/uapi/linux/bpf.h | 11 + kernel/bpf/btf.c | 136 ++++++++-- kernel/bpf/syscall.c | 41 ++- tools/include/uapi/linux/bpf.h | 11 + tools/lib/bpf/bpf.c | 10 + tools/lib/bpf/bpf.h | 1 + tools/testing/selftests/bpf/test_btf.c | 478 +++++++++++++++++++++++++-------- 8 files changed, 563 insertions(+), 127 deletions(-)
Signature · 1 line
2.9.5