diff options
author | Andrii Nakryiko <[email protected]> | 2019-12-13 17:43:36 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-12-15 15:58:05 -0800 |
commit | d66562fba1ce66975bd61b0786fb8b1810f33caa (patch) | |
tree | 1c5a88f4a60ce1d654c48e764de023be0ba678d1 /tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c | |
parent | 3f51935314b8c0e0f45f28bed2e7a023b2c7627c (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/stacktrace_build_id.c')
0 files changed, 0 insertions, 0 deletions