]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: add fwd enum resolution test for btf_dedup
authorAndrii Nakryiko <andriin@fb.com>
Mon, 11 Mar 2019 00:44:10 +0000 (17:44 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 14 Mar 2019 20:53:18 +0000 (13:53 -0700)
commitc2d90e3252682c2ee6be583f2acd85396a3191a7
treef8595a44b351aebf6d14eef95fa827f3f86de5be
parent27864e13ec17c8b325edd630e5a5ee4e34410b60
selftests/bpf: add fwd enum resolution test for btf_dedup

This patch adds test verifying new btf_dedup logic of resolving
forward-declared enums.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_btf.c