diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-08-07 14:39:55 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-08-07 14:43:49 -0700 |
commit | ec6438a988a43dcb03f0a04f3f51a48aba54764a (patch) | |
tree | 376e2801ac2e543aabf2fecc6ff6f0995e647324 /tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___anon_embed.c | |
parent | 002d3afce65518dc5dfc398a37c2be2a6bf559c4 (diff) | |
download | linux-stable-ec6438a988a43dcb03f0a04f3f51a48aba54764a.tar.gz linux-stable-ec6438a988a43dcb03f0a04f3f51a48aba54764a.tar.bz2 linux-stable-ec6438a988a43dcb03f0a04f3f51a48aba54764a.zip |
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___anon_embed.c')
-rw-r--r-- | tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___anon_embed.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___anon_embed.c b/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___anon_embed.c new file mode 100644 index 000000000000..13e108f76ece --- /dev/null +++ b/tools/testing/selftests/bpf/progs/btf__core_reloc_nesting___anon_embed.c @@ -0,0 +1,3 @@ +#include "core_reloc_types.h" + +void f(struct core_reloc_nesting___anon_embed x) {} |