selftests/bpf: use typedef'ed arrays as map values
authorAndrii Nakryiko <andriin@fb.com>
Fri, 12 Jul 2019 17:25:57 +0000 (10:25 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 15 Jul 2019 21:02:17 +0000 (23:02 +0200)
commit8981e56fa17282598571958ae6a29cbc3209a6cb
treedcc396b062456daa3af5a598587dfbc604aa7c8c
parentdd13f3ca642986b59a1863101e58cd694e81f888
selftests/bpf: use typedef'ed arrays as map values

Convert few tests that couldn't use typedef'ed arrays due to kernel bug.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c
tools/testing/selftests/bpf/progs/test_stacktrace_build_id.c
tools/testing/selftests/bpf/progs/test_stacktrace_map.c