summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf.map
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2021-09-14 15:30:25 -0700
committerAlexei Starovoitov <ast@kernel.org>2021-09-14 18:45:52 -0700
commit5b84bd10363e36ceb7c4c1ae749a3fc8adf8df45 (patch)
tree908974045efcd5f2b1485aac3e19763d94250c72 /tools/lib/bpf/libbpf.map
parent30025e8bd80fdc5a4159ec7f9511121ea561f456 (diff)
downloadlwn-5b84bd10363e36ceb7c4c1ae749a3fc8adf8df45.tar.gz
lwn-5b84bd10363e36ceb7c4c1ae749a3fc8adf8df45.zip
libbpf: Add support for BTF_KIND_TAG
Add BTF_KIND_TAG support for parsing and dedup. Also added sanitization for BTF_KIND_TAG. If BTF_KIND_TAG is not supported in the kernel, sanitize it to INTs. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210914223025.246687-1-yhs@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 78ea62c9346f..9e649cf9e771 100644
--- a/tools/lib/bpf/libbpf.map
+++ b/tools/lib/bpf/libbpf.map
@@ -388,4 +388,6 @@ LIBBPF_0.5.0 {
} LIBBPF_0.4.0;
LIBBPF_0.6.0 {
+ global:
+ btf__add_tag;
} LIBBPF_0.5.0;