aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2019-12-13 17:43:36 -0800
committerAlexei Starovoitov <[email protected]>2019-12-15 15:58:05 -0800
commitd66562fba1ce66975bd61b0786fb8b1810f33caa (patch)
tree1c5a88f4a60ce1d654c48e764de023be0ba678d1 /tools/testing/selftests/bpf/prog_tests
parent3f51935314b8c0e0f45f28bed2e7a023b2c7627c (diff)
libbpf: Add BPF object skeleton support
Add new set of APIs, allowing to open/load/attach BPF object through BPF object skeleton, generated by bpftool for a specific BPF object file. All the xxx_skeleton() APIs wrap up corresponding bpf_object_xxx() APIs, but additionally also automate map/program lookups by name, global data initialization and mmap()-ing, etc. All this greatly improves and simplifies userspace usability of working with BPF programs. See follow up patches for examples. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions