]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: fix test_attach_probe map definition
authorAndrii Nakryiko <andriin@fb.com>
Sat, 6 Jul 2019 04:44:20 +0000 (21:44 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 8 Jul 2019 14:25:58 +0000 (16:25 +0200)
commit2e30fc03663acbff70635ceccd3fb5974d71f442
tree179a8e2b4e766458c1bd23b07eeec08b7008cd82
parentdb95f71058a5c16341212c181ee1ea630975fea3
selftests/bpf: fix test_attach_probe map definition

1567886d50cf ("libbpf: capture value in BTF type info for BTF-defined map
defs") changed BTF-defined maps syntax, while independently merged
284641e00261 ("selftests/bpf: add kprobe/uprobe selftests") added new
test using outdated syntax of maps. This patch fixes this test after
corresponding patch sets were merged.

Fixes: 1567886d50cf ("libbpf: capture value in BTF type info for BTF-defined map defs")
Fixes: 284641e00261 ("selftests/bpf: add kprobe/uprobe selftests")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/progs/test_attach_probe.c