aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/stacktrace_map.c
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2022-05-10 13:56:00 +0200
committerAlexei Starovoitov <ast@kernel.org>2022-05-11 08:03:15 -0700
commitdb1bd7a99454db5d9003ddcd64e771e265170f5b (patch)
tree61933fc029c1e486b0b586fab567049eb776f039 /tools/testing/selftests/bpf/prog_tests/stacktrace_map.c
parent895b62eed2ab48c314653bcf3459521b42f9db4e (diff)
selftests: xsk: add timeout to tests
Add a timeout to the tests so that if all packets have not been received within 3 seconds, fail the ongoing test. Hinders a test from dead-locking if there is something wrong. Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Link: https://lore.kernel.org/r/20220510115604.8717-6-magnus.karlsson@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_map.c')
0 files changed, 0 insertions, 0 deletions