selftests/bpf: Test "incremental" btf_dump in C format
authorAndrii Nakryiko <andriin@fb.com>
Tue, 29 Sep 2020 23:28:43 +0000 (16:28 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 30 Sep 2020 19:30:46 +0000 (12:30 -0700)
commitf4d385e4d51d035c7f0d68a3e9564c9453c13aa4
tree256d75460a1698a976d40f850c960e1016a648ad
parent9c6c5c48d7e9c00c541e0f1a5cea3a96767e825c
selftests/bpf: Test "incremental" btf_dump in C format

Add test validating that btf_dump works fine with BTFs that are modified and
incrementally generated.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200929232843.1249318-5-andriin@fb.com
tools/testing/selftests/bpf/prog_tests/btf_dump.c