diff options
author | Martin KaFai Lau <kafai@fb.com> | 2018-11-24 01:44:32 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-11-27 03:57:14 +0100 |
commit | 1d2f44ca342445f7da56555ca7a43d19aac8996a (patch) | |
tree | c2215ec3e793279bf9672bd72d979f516bce3955 /tools/lib/bpf/btf.c | |
parent | Merge branch 'non-jit-btf-func_info' (diff) | |
download | linux-1d2f44ca342445f7da56555ca7a43d19aac8996a.tar.xz linux-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 'tools/lib/bpf/btf.c')
-rw-r--r-- | tools/lib/bpf/btf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/btf.c b/tools/lib/bpf/btf.c index 13ddc4bd24ee..eadcf8dfd295 100644 --- a/tools/lib/bpf/btf.c +++ b/tools/lib/bpf/btf.c @@ -415,7 +415,7 @@ const char *btf__name_by_offset(const struct btf *btf, __u32 offset) return NULL; } -int btf_get_from_id(__u32 id, struct btf **btf) +int btf__get_from_id(__u32 id, struct btf **btf) { struct bpf_btf_info btf_info = { 0 }; __u32 len = sizeof(btf_info); |