]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Add enum64 deduplication support
authorYonghong Song <yhs@fb.com>
Tue, 7 Jun 2022 06:26:26 +0000 (23:26 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 7 Jun 2022 17:20:43 +0000 (10:20 -0700)
commitc3d7579a83e8bf742ac96f6b91e0ebfba7e428e0
tree3b9005564ea361de1d958980598ba6f3e70a9af9
parent319b4631ffbed887d77f9269c8aeec85c9d74c2c
libbpf: Add enum64 deduplication support

Add enum64 deduplication support. BTF_KIND_ENUM64 handling
is very similar to BTF_KIND_ENUM.

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