diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-08-07 14:39:58 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-08-07 14:43:49 -0700 |
commit | 9654e2ae908eb0d51b0b79c7c50df0754ed38edd (patch) | |
tree | 98bd33e36ec7192d2de2331388f1f46c9d4839d2 /tools/testing/selftests/bpf/progs/btf__core_reloc_mods___typedefs.c | |
parent | d9db3550300f4390e457c79189e2601c107f9fe6 (diff) | |
download | linux-9654e2ae908eb0d51b0b79c7c50df0754ed38edd.tar.gz linux-9654e2ae908eb0d51b0b79c7c50df0754ed38edd.tar.bz2 linux-9654e2ae908eb0d51b0b79c7c50df0754ed38edd.zip |
selftests/bpf: add CO-RE relocs modifiers/typedef tests
Add tests validating correct handling of various combinations of
typedefs and const/volatile/restrict modifiers.
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_mods___typedefs.c')
-rw-r--r-- | tools/testing/selftests/bpf/progs/btf__core_reloc_mods___typedefs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/progs/btf__core_reloc_mods___typedefs.c b/tools/testing/selftests/bpf/progs/btf__core_reloc_mods___typedefs.c new file mode 100644 index 000000000000..5c0d73687247 --- /dev/null +++ b/tools/testing/selftests/bpf/progs/btf__core_reloc_mods___typedefs.c @@ -0,0 +1,3 @@ +#include "core_reloc_types.h" + +void f(struct core_reloc_mods___typedefs x) {} |