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

Greg KH <[email protected]>
Newsgroups org.kernel.vger.linux-kernel,org.kernel.vger.bpf,org.kernel.vger.linux-kselftest,org.kernel.vger.stable
Message-ID <2026080743-savage-qualify-1913@gregkh>
On Fri, Aug 07, 2026 at 09:32:43AM -0300, Ricardo B. Marlière (SUSE) wrote:
> From: Mykyta Yatsenko <[email protected]>
> 
> [ 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 <[email protected]>
> Acked-by: Kumar Kartikeya Dwivedi <[email protected]>
> Link: https://lore.kernel.org/bpf/[email protected]
> Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>

You did not sign off on this :(
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.