]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
tools/bpf: remove btf__get_strings() superseded by raw data API
authorAndrii Nakryiko <andriin@fb.com>
Fri, 8 Feb 2019 19:19:39 +0000 (11:19 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 8 Feb 2019 20:04:13 +0000 (12:04 -0800)
commit49b57e0d01db73c99f86d68480fb9b4014bb1060
treea5b61868a7ba083c1828e438a07a33d9add96c6f
parentae4ab4b4117d23da49f04a7e1fe82a41e6074eeb
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>
tools/lib/bpf/btf.c
tools/lib/bpf/btf.h
tools/lib/bpf/libbpf.map
tools/testing/selftests/bpf/test_btf.c