OSDN Git Service

libbpf: Rename btf_{hash,equal}_int to btf_{hash,equal}_int_tag
authorYonghong Song <yhs@fb.com>
Tue, 14 Sep 2021 22:30:20 +0000 (15:30 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 15 Sep 2021 01:45:52 +0000 (18:45 -0700)
commit30025e8bd80fdc5a4159ec7f9511121ea561f456
treea8aa2171315103ac031c6f5b6bc00973dec75f26
parentb5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef
libbpf: Rename btf_{hash,equal}_int to btf_{hash,equal}_int_tag

This patch renames functions btf_{hash,equal}_int() to
btf_{hash,equal}_int_tag() so they can be reused for
BTF_KIND_TAG support. There is no functionality change for
this patch.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210914223020.245829-1-yhs@fb.com
tools/lib/bpf/btf.c