diff options
author | Eduard Zingerman <[email protected]> | 2023-11-21 04:06:57 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-11-20 18:36:40 -0800 |
commit | 958465e217dbf5fc6677d42d8827fb3073d86afd (patch) | |
tree | f7d2e4937e28bd7157da6815ca29fea42be3c284 /tools/perf/scripts/python/futex-contention.py | |
parent | ab5cfac139ab8576fb54630d4cca23c3e690ee90 (diff) |
selftests/bpf: tests for iterating callbacks
A set of test cases to check behavior of callback handling logic,
check if verifier catches the following situations:
- program not safe on second callback iteration;
- program not safe on zero callback iterations;
- infinite loop inside a callback.
Verify that callback logic works for bpf_loop, bpf_for_each_map_elem,
bpf_user_ringbuf_drain, bpf_find_vma.
Acked-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Eduard Zingerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions