summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMykyta Yatsenko <yatsenko@meta.com>2026-04-22 22:41:11 +0300
committerKumar Kartikeya Dwivedi <memxor@gmail.com>2026-04-22 23:44:30 +0300
commit8a20655749c625dcc4debdfdeeaa0cf8bb85c203 (patch)
tree75cd91d5fedd4f282c409badce0bdc1bd5d3a823 /include/linux
parent0cd420a6f40c7ee4e58c5277df6bf66efcfcdf1a (diff)
downloadlinux-8a20655749c625dcc4debdfdeeaa0cf8bb85c203.tar.xz
selftests/bpf: Add tests for sleepable tracepoint programs
Cover all three sleepable tracepoint types (tp_btf.s, raw_tp.s, tp.s) and sys_exit (via bpf_task_pt_regs) with functional tests using bpf_copy_from_user() on getcwd. Verify alias and bare SEC variants, bpf_prog_test_run_raw_tp() with BPF_F_TEST_RUN_ON_CPU rejection, attach-time rejection on non-faultable tracepoints, and load-time rejection for sleepable tp_btf on non-faultable tracepoints. Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com> Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/bpf/20260422-sleepable_tracepoints-v13-6-99005dff21ef@meta.com Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions