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(-) -- 2.9.5