diff options
| author | Dmitrii Banshchikov <me@ubique.spb.ru> | 2021-11-13 18:22:27 +0400 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2021-11-15 20:37:11 -0800 |
| commit | e60e6962c503f337531f80e2752423b5bd885443 (patch) | |
| tree | 6d029ea816351ee368667c1244935862b898aeb1 /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c | |
| parent | 5e0bc3082e2e403ac0753e099c2b01446bb35578 (diff) | |
selftests/bpf: Add tests for restricted helpers
This patch adds tests that bpf_ktime_get_coarse_ns(), bpf_timer_* and
bpf_spin_lock()/bpf_spin_unlock() helpers are forbidden in tracing progs
as their use there may result in various locking issues.
Signed-off-by: Dmitrii Banshchikov <me@ubique.spb.ru>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211113142227.566439-3-me@ubique.spb.ru
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions
