aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_btf.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2018-11-23 16:44:32 -0800
committerAlexei Starovoitov <ast@kernel.org>2018-11-26 18:57:14 -0800
commit1d2f44ca342445f7da56555ca7a43d19aac8996a (patch)
treec2215ec3e793279bf9672bd72d979f516bce3955 /tools/testing/selftests/bpf/test_btf.c
parentMerge branch 'non-jit-btf-func_info' (diff)
downloadlinux-dev-1d2f44ca342445f7da56555ca7a43d19aac8996a.tar.xz
linux-dev-1d2f44ca342445f7da56555ca7a43d19aac8996a.zip
libbpf: Name changing for btf_get_from_id
s/btf_get_from_id/btf__get_from_id/ to restore the API naming convention. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Andrey Ignatov <rdna@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/bpf/test_btf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/test_btf.c b/tools/testing/selftests/bpf/test_btf.c
index b4c8725b3004..bae7308b7ec5 100644
--- a/tools/testing/selftests/bpf/test_btf.c
+++ b/tools/testing/selftests/bpf/test_btf.c
@@ -2585,7 +2585,7 @@ static int do_test_file(unsigned int test_num)
goto done;
}
- err = btf_get_from_id(info.btf_id, &btf);
+ err = btf__get_from_id(info.btf_id, &btf);
if (CHECK(err, "cannot get btf from kernel, err: %d", err))
goto done;