Re: [PATCH 7.1.y v2] selftests/bpf: Add tests for sleepable tracepoint programs

From: Greg KH

Date: Fri Aug 07 2026 - 10:20:08 EST


On Fri, Aug 07, 2026 at 09:32:43AM -0300, Ricardo B. Marlière (SUSE) wrote:
> From: Mykyta Yatsenko <yatsenko@xxxxxxxx>
>
> [ Upstream commit 8a20655749c625dcc4debdfdeeaa0cf8bb85c203 ]
>
> 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.
>
> [ rbm: Removed hunks from (new) files:
> tools/testing/selftests/bpf/prog_tests/sleepable_tracepoints.c
> tools/testing/selftests/bpf/progs/test_sleepable_tracepoints.c
> tools/testing/selftests/bpf/progs/test_sleepable_tracepoints_fail.c
> These rely on libbpf's ".s" tracepoint section handlers
> (0cd420a6f40c7) and on kernel-side sleepable tracepoint runtime
> support (439ebd5b5708, 12628ffaf98b, 57918341dd19), none of which
> are backported here; kept only the verifier/sleepable.c hunk, which
> is correct and needed on its own. ]
>
> Signed-off-by: Mykyta Yatsenko <yatsenko@xxxxxxxx>
> Acked-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>
> Link: https://lore.kernel.org/bpf/20260422-sleepable_tracepoints-v13-6-99005dff21ef@xxxxxxxx
> Signed-off-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>

You did not sign off on this :(