bpf: Extend bpf_{prog,map}_info
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | bpf: Add name, load_time, uid and map_ids to bpf_prog_infoinclude/ include/ kernel/ | +60 | 0 replies | |
| 2/5 | bpf: Add map_name to bpf_map_infoinclude/ include/ kernel/ | +9 | 3 replies | |
| 3/5 | bpf: libbpf: Provide basic API support to specify BPF obj namesamples/ samples/ tools/ +4 more | +157 | 0 replies | |
| 4/5 | bpf: Swap the order of checking prog_info and map_infotools/ | +30 | 0 replies | |
| 5/5 | bpf: Test new fields in bpf_attr and bpf_{prog,map}_infotools/ | +132 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Alexei Starovoitov | Daniel Borkmann |
|---|---|---|
| 1/5 | A-b | A-b |
| 2/5 | A-b | A-b |
| 3/5 | A-b | A-b |
| 4/5 | A-b | A-b |
| 5/5 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/5] bpf: Extend bpf_{prog,map}_info
This patch series adds more fields to bpf_prog_info and bpf_map_info. Please see individual patch for details.
Martin KaFai Lau (5):
bpf: Add name, load_time, uid and map_ids to bpf_prog_info
bpf: Add map_name to bpf_map_info
bpf: libbpf: Provide basic API support to specify BPF obj name
bpf: Swap the order of checking prog_info and map_info
bpf: Test new fields in bpf_attr and bpf_{prog,map}_info
include/linux/bpf.h | 3 + include/uapi/linux/bpf.h | 10 ++ kernel/bpf/syscall.c | 58 ++++++++- samples/bpf/bpf_load.c | 2 + samples/bpf/map_perf_test_user.c | 1 + tools/include/uapi/linux/bpf.h | 10 ++ tools/lib/bpf/bpf.c | 57 ++++++-- tools/lib/bpf/bpf.h | 23 +++- tools/lib/bpf/libbpf.c | 109 ++++++++++++---- tools/testing/selftests/bpf/test_progs.c | 195 +++++++++++++++++++++++----- tools/testing/selftests/bpf/test_verifier.c | 2 +- 11 files changed, 385 insertions(+), 85 deletions(-)
Signature · 1 line
2.9.5