Re: [PATCH v4 4/4] perf test: Add selftest to test IBS invocation via core pmu events

From: Arnaldo Carvalho de Melo
Date: Mon May 15 2023 - 17:34:07 EST


Em Mon, May 15, 2023 at 06:31:18PM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Fri, May 05, 2023 at 11:16:48AM +0200, Peter Zijlstra escreveu:
> > On Thu, May 04, 2023 at 04:30:03PM +0530, Ravi Bangoria wrote:
> > > IBS pmu can be invoked via fixed set of core pmu events with 'precise_ip'
> > > set to 1. Add a simple event open test for all these events.
> > > AMD IBS via core pmu: Ok
> > >
> > > Signed-off-by: Ravi Bangoria <ravi.bangoria@xxxxxxx>
> > > ---
> > > tools/perf/arch/x86/include/arch-tests.h | 1 +
> > > tools/perf/arch/x86/tests/Build | 1 +
> > > .../arch/x86/tests/amd-ibs-via-core-pmu.c | 71 +++++++++++++++++++
> > > tools/perf/arch/x86/tests/arch-tests.c | 2 +
> > > 4 files changed, 75 insertions(+)
> > > create mode 100644 tools/perf/arch/x86/tests/amd-ibs-via-core-pmu.c
> >
> > Arnaldo, ok if I merge this along with the other patches or would you
> > rather take it?
>
> That would be ok, checking if you merged already...

Yeah, its in tip/master, great.

- Arnaldo