diff options
author | 2021-11-13 18:22:27 +0400 | |
---|---|---|
committer | 2021-11-15 20:37:11 -0800 | |
commit | e60e6962c503f337531f80e2752423b5bd885443 (patch) | |
tree | 6d029ea816351ee368667c1244935862b898aeb1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: Forbid bpf_ktime_get_coarse_ns and bpf_timer_* in tracing progs (diff) | |
download | wireguard-linux-e60e6962c503f337531f80e2752423b5bd885443.tar.xz wireguard-linux-e60e6962c503f337531f80e2752423b5bd885443.zip |
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions