summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf.map
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2020-12-02 09:52:42 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-12-03 21:17:26 +0300
commit0cfdcd6378071f383c900e3d8862347e2af1d1ca (patch)
tree5e2ca63005890b314498b46f6470d42216392202 /tools/lib/bpf/libbpf.map
parent71ccb50074f31a50a1da4c1d8306d54da0907b00 (diff)
downloadlinux-0cfdcd6378071f383c900e3d8862347e2af1d1ca.tar.xz
libbpf: Add base BTF accessor
Add ability to get base BTF. It can be also used to check if BTF is split BTF. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20201202065244.530571-3-andrii@kernel.org
Diffstat (limited to 'tools/lib/bpf/libbpf.map')
-rw-r--r--tools/lib/bpf/libbpf.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map
index 29ff4807b909..ed55498c4122 100644
--- a/tools/lib/bpf/libbpf.map
+++ b/tools/lib/bpf/libbpf.map
@@ -340,6 +340,7 @@ LIBBPF_0.2.0 {
LIBBPF_0.3.0 {
global:
+ btf__base_btf;
btf__parse_elf_split;
btf__parse_raw_split;
btf__parse_split;