Re: [PATCH v1] perf test: AMD IBS swfilt skip kernel tests if paranoia is >1

From: Arnaldo Carvalho de Melo
Date: Tue Sep 16 2025 - 10:37:36 EST


On Fri, Sep 12, 2025 at 04:37:59PM -0700, Ian Rogers wrote:
> On Fri, Sep 12, 2025 at 2:53 PM Arnaldo Carvalho de Melo
> <acme@xxxxxxxxxx> wrote:
> >
> > On Mon, Sep 08, 2025 at 04:35:11PM -0700, Namhyung Kim wrote:
> > > Hi Ian,
> > >
> > > On Mon, Sep 08, 2025 at 03:17:27PM -0700, Ian Rogers wrote:
> > > > If not root and the perf_event_paranoid is set >1 swfilt will fail to
> > > > open the event failing the test. Add check to skip the test in that
> > > > case.
> > >
> > > Thanks for the fix!
> >
> > I'm taking this as an Acked-by, ok?
>
> I have a new version but I'm discovering quite a few other issues on
> the way. There are 7 patches on top of this here:
> https://github.com/googleprodkernel/linux-perf/commits/google_tools_master/

I just checked and b4 picked the latest version of this patch as what I
have now in perf-tools-next is the same as in:

https://github.com/googleprodkernel/linux-perf/blob/google_tools_master/tools/perf/tests/shell/amd-ibs-swfilt.sh

- Arnaldo

> I'll send the new version now, but I'd been tardy as it wasn't clear I
> was done with fixes yet.
>
> Thanks,
> Ian