projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd6b3b3
)
libbpf: Fix typo in btf__dedup@LIBBPF_0.0.2 definition
author
Vincent Minet
<vincent@vincent-minet.net>
Fri, 10 Dec 2021 06:31:12 +0000
(07:31 +0100)
committer
Andrii Nakryiko
<andrii@kernel.org>
Fri, 10 Dec 2021 23:35:29 +0000
(15:35 -0800)
The btf__dedup_deprecated name was misspelled in the definition of the
compat symbol for btf__dedup. This leads it to be missing from the
shared library.
This fixes it.
Fixes:
957d350a8b94
("libbpf: Turn btf_dedup_opts into OPTS-based struct")
Signed-off-by: Vincent Minet <vincent@vincent-minet.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link:
https://lore.kernel.org/bpf/20211210063112.80047-1-vincent@vincent-minet.net
tools/lib/bpf/btf.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/lib/bpf/btf.c
b/tools/lib/bpf/btf.c
index e171424192aee01780ca9cf751fe271a27389a56..9aa19c89f75832d10985adad2e6c79a5be962389 100644
(file)
--- a/
tools/lib/bpf/btf.c
+++ b/
tools/lib/bpf/btf.c
@@
-3107,7
+3107,7
@@
done:
return libbpf_err(err);
}
-COMPAT_VERSION(b
p
f__dedup_deprecated, btf__dedup, LIBBPF_0.0.2)
+COMPAT_VERSION(b
t
f__dedup_deprecated, btf__dedup, LIBBPF_0.0.2)
int btf__dedup_deprecated(struct btf *btf, struct btf_ext *btf_ext, const void *unused_opts)
{
LIBBPF_OPTS(btf_dedup_opts, opts, .btf_ext = btf_ext);