aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.map
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-02-08 11:19:39 -0800
committerAlexei Starovoitov <ast@kernel.org>2019-02-08 12:04:13 -0800
commit49b57e0d01db73c99f86d68480fb9b4014bb1060 (patch)
treea5b61868a7ba083c1828e438a07a33d9add96c6f /tools/lib/bpf/libbpf.map
parentbtf: expose API to work with raw btf_ext data (diff)
downloadlinux-dev-49b57e0d01db73c99f86d68480fb9b4014bb1060.tar.xz
linux-dev-49b57e0d01db73c99f86d68480fb9b4014bb1060.zip
tools/bpf: remove btf__get_strings() superseded by raw data API
Now that we have btf__get_raw_data() it's trivial for tests to iterate over all strings for testing purposes, which eliminates the need for btf__get_strings() API. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to '')
-rw-r--r--tools/lib/bpf/libbpf.map1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map
index eb78c7c261d9..5fc8222209f8 100644
--- a/tools/lib/bpf/libbpf.map
+++ b/tools/lib/bpf/libbpf.map
@@ -137,7 +137,6 @@ LIBBPF_0.0.2 {
btf__get_map_kv_tids;
btf__get_nr_types;
btf__get_raw_data;
- btf__get_strings;
btf__load;
btf_ext__free;
btf_ext__func_info_rec_size;