summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKaitao Cheng <chengkaitao@kylinos.cn>2026-08-05 23:33:40 +0800
committerKumar Kartikeya Dwivedi <memxor@gmail.com>2026-08-06 10:58:05 +0200
commitbca83aa31f15275b8ac4fc3fb7659f5d70492902 (patch)
treee60c386f6da574afe6b2d04ae1e26227b9b0da96 /tools/perf/scripts/python/bin
parent7619a0ee9340b3cef114b1c7aae42c0835cf2bff (diff)
selftests/bpf: Test module kfunc calls under spin lock
The verifier uses kfunc registration flags to decide whether a kfunc may be called while a BPF program holds a bpf_spin_lock. Mark bpf_testmod_test_mod_kfunc() as KF_SPINLOCK_SAFE and verify that it can be called while holding a bpf_spin_lock. Also attempt to call the unmarked bpf_kfunc_trigger_ctx_check() under the lock and verify that the program is rejected. Signed-off-by: Kaitao Cheng <chengkaitao@kylinos.cn> Acked-by: Leon Hwang <leon.hwang@linux.dev> Link: https://lore.kernel.org/bpf/20260805153340.34776-4-kaitao.cheng@linux.dev Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions