diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-08-08 00:39:55 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-08-08 00:43:49 +0300 |
commit | ec6438a988a43dcb03f0a04f3f51a48aba54764a (patch) | |
tree | 376e2801ac2e543aabf2fecc6ff6f0995e647324 /tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_field.c | |
parent | 002d3afce65518dc5dfc398a37c2be2a6bf559c4 (diff) | |
download | linux-ec6438a988a43dcb03f0a04f3f51a48aba54764a.tar.xz |
selftests/bpf: add CO-RE relocs nesting tests
Add a bunch of test validating correct handling of nested
structs/unions.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_field.c')
-rw-r--r-- | tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_field.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_field.c b/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_field.c new file mode 100644 index 000000000000..efcae167fab9 --- /dev/null +++ b/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___err_missing_field.c @@ -0,0 +1,3 @@ +#include "core_reloc_types.h" + +void f(struct core_reloc_nesting___err_missing_field x) {} |