[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aBK0wz2QENx9qQEz@x1>
Date: Wed, 30 Apr 2025 20:39:47 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Ravi Bangoria <ravi.bangoria@....com>
Cc: Ingo Molnar <mingo@...hat.com>, Namhyung Kim <namhyung@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Joe Mario <jmario@...hat.com>,
Stephane Eranian <eranian@...gle.com>, Jiri Olsa <jolsa@...nel.org>,
Ian Rogers <irogers@...gle.com>,
Kan Liang <kan.liang@...ux.intel.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-perf-users@...r.kernel.org" <linux-perf-users@...r.kernel.org>,
"Shukla, Santosh" <santosh.shukla@....com>,
Ananth Narayan <ananth.narayan@....com>,
Sandipan Das <sandipan.das@....com>
Subject: Re: [PATCH v4 4/4] perf test amd ibs: Add sample period unit test
On Wed, Apr 30, 2025 at 09:37:22PM +0530, Ravi Bangoria wrote:
> Hi Arnaldo,
>
> > root@...ber:/home/acme/git/linux# perf test -vvv ibs
> > 73: AMD IBS via core pmu:
> > --- start ---
> > test child forked, pid 10047
> > Using CPUID AuthenticAMD-26-44-0
> > type: 0x0, config: 0x0, fd: 3 - Pass
> > type: 0x0, config: 0x1, fd: -1 - Pass
> > type: 0x4, config: 0x76, fd: 3 - Pass
> > type: 0x4, config: 0xc1, fd: 3 - Pass
> > type: 0x4, config: 0x12, fd: -1 - Pass
> > ---- end(0) ----
> > 73: AMD IBS via core pmu : Ok
> > root@...ber:/home/acme/git/linux#
>
> It picks up both the IBS tests for me. (Is that what you mean?)
>
> $ sudo ./perf test ibs
> 73: AMD IBS via core pmu : Ok
> 112: AMD IBS sample period : Ok
>
> $ ./perf --version
> perf version 6.15.rc2.g35db59fa8ea2
Are there two? I probably tested it with just the first patch on your
series applied, lemme see...
The second takes quite a while to finish :)
root@...ber:/# perf test ibs
73: AMD IBS via core pmu : Ok
112: AMD IBS sample period : Ok
root@...ber:/#
root@...ber:/# perf stat --null perf test 73
73: AMD IBS via core pmu : Ok
Performance counter stats for 'perf test 73':
0.018951061 seconds time elapsed
0.004640000 seconds user
0.005627000 seconds sys
root@...ber:/# perf stat --null perf test 112
112: AMD IBS sample period : Ok
Performance counter stats for 'perf test 112':
17.888279280 seconds time elapsed
1.539229000 seconds user
16.325610000 seconds sys
root@...ber:/#
But yeah, both are passing on this 9950x3d.
- Arnaldo
Powered by blists - more mailing lists