]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Fix flow dissector tests
authorStanislav Fomichev <sdf@google.com>
Thu, 21 Oct 2021 21:48:14 +0000 (14:48 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 22 Oct 2021 23:53:38 +0000 (16:53 -0700)
commitdb812ddbbd9f9230f99fdba3f3712aaed92c0543
tree45b59b46b71617dd979eb7436896159033c72e35
parent315df24ef9bd042a0942e48dcecddbc0e1eb5fbe
selftests/bpf: Fix flow dissector tests

- update custom loader to search by name, not section name
- update bpftool commands to use proper pin path

Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211021214814.1236114-4-sdf@google.com
tools/testing/selftests/bpf/flow_dissector_load.c
tools/testing/selftests/bpf/flow_dissector_load.h
tools/testing/selftests/bpf/test_flow_dissector.sh