Re: [PATCH bpf-next v2 18/21] selftests/bpf: Add tracing_multi bpf prog rollback test
From: Jiri Olsa
Date: Wed Oct 14 2026 - 17:44:35 EST
On Mon, Oct 12, 2026 at 11:40:20PM +0800, Leon Hwang wrote:
> When rollbacking, the prepared trampolines should be reverted.
>
> In this test, the first bpf prog will be attached with the trampoline, and
> the second bpf prog won't be attached because the bpf prog has been
> attached by a fentry.multi prog, that causes the rollback procedure.
there's rollback in bpf_trampoline_multi_prog_attach and in
bpf_trampoline_multi_prog_prepare, would be great to cover
both with tests
jirka