]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Add the traffic monitor option to test_progs.
authorKui-Feng Lee <thinker.li@gmail.com>
Thu, 15 Aug 2024 05:32:50 +0000 (22:32 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Thu, 15 Aug 2024 18:33:49 +0000 (11:33 -0700)
commitf5281aacec856e7e0beb643d74122595fc1fb4be
tree399d8ddd414876c8026e17788dc28323f256772e
parentf52403b6bfea6994b017c58367aee9acdb9d9fd4
selftests/bpf: Add the traffic monitor option to test_progs.

Add option '-m' to test_progs to accept names and patterns of test cases.
This option will be used later to enable traffic monitor that capture
network packets generated by test cases.

Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Link: https://lore.kernel.org/r/20240815053254.470944-3-thinker.li@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
tools/testing/selftests/bpf/test_progs.c
tools/testing/selftests/bpf/test_progs.h