Re: [PATCH 1/2] selftests/bpf: bpf_cookie: skip kprobe_multi tests without bpf_testmod
From: sun jian
Date: Fri Feb 27 2026 - 21:59:06 EST
On Sat, Feb 28, 2026 at 2:18 AM Alexei Starovoitov
<alexei.starovoitov@xxxxxxxxx> wrote:
>
> On Fri, Feb 27, 2026 at 8:40 AM Sun Jian <sun.jian.kdev@xxxxxxxxx> wrote:
> >
> > The kprobe_multi subtests rely on bpf_testmod fentry ksyms.
> > attr.type = PERF_TYPE_SOFTWARE;
> > attr.config = PERF_COUNT_SW_CPU_CLOCK;
> > attr.sample_period = 100000;
> > - pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC);
> > + pfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC);
>
> This part is not explained in the commit log.
>
> pw-bot: cr
You are right: the perf_event_open() argument change is unrelated to
the testmod skip patch
and shouldn't have been in this patch. I'll respin as v2 and move it
to the appropriate patch.
Thanks,
Sun Jian