]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit414933ec4c4b5b6d88fa8d9b74856a37faa18c9f
treea8aa2171315103ac031c6f5b6bc00973dec75f26
parent6b9cc4141df15fecda4515bec7ac06604f84e0b2
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