summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf.map
diff options
context:
space:
mode:
authorDelyan Kratunov <delyank@fb.com>2022-03-17 02:37:33 +0300
committerAndrii Nakryiko <andrii@kernel.org>2022-03-18 09:11:16 +0300
commit430025e5dca5ad8902e7c3092b7c975acae154c5 (patch)
tree30b82606ae710c842060b430128903076c4598ed /tools/lib/bpf/libbpf.map
parent262cfb74ffdaed06e65b8b20e10241768a9a2e18 (diff)
downloadlinux-430025e5dca5ad8902e7c3092b7c975acae154c5.tar.xz
libbpf: Add subskeleton scaffolding
In symmetry with bpf_object__open_skeleton(), bpf_object__open_subskeleton() performs the actual walking and linking of maps, progs, and globals described by bpf_*_skeleton objects. Signed-off-by: Delyan Kratunov <delyank@fb.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/6942a46fbe20e7ebf970affcca307ba616985b15.1647473511.git.delyank@fb.com
Diffstat (limited to 'tools/lib/bpf/libbpf.map')
-rw-r--r--tools/lib/bpf/libbpf.map2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map
index 554c56e6e5d3..dd35ee58bfaa 100644
--- a/tools/lib/bpf/libbpf.map
+++ b/tools/lib/bpf/libbpf.map
@@ -442,6 +442,8 @@ LIBBPF_0.7.0 {
LIBBPF_0.8.0 {
global:
+ bpf_object__destroy_subskeleton;
+ bpf_object__open_subskeleton;
libbpf_register_prog_handler;
libbpf_unregister_prog_handler;
bpf_program__attach_kprobe_multi_opts;