diff options
| author | Martin KaFai Lau <[email protected]> | 2018-11-23 16:44:32 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2018-11-26 18:57:14 -0800 |
| commit | 1d2f44ca342445f7da56555ca7a43d19aac8996a (patch) | |
| tree | c2215ec3e793279bf9672bd72d979f516bce3955 /tools/lib/bpf/btf.c | |
| parent | b89c2998d9983af94037d4292cc8cb878441cf62 (diff) | |
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 <[email protected]>
Signed-off-by: Andrey Ignatov <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
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); |