Linux Perf Users
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: Ingo Molnar <mingo@redhat.com>,
	Namhyung Kim <namhyung@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Joe Mario <jmario@redhat.com>,
	Stephane Eranian <eranian@google.com>,
	Jiri Olsa <jolsa@kernel.org>, Ian Rogers <irogers@google.com>,
	Kan Liang <kan.liang@linux.intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-perf-users@vger.kernel.org"
	<linux-perf-users@vger.kernel.org>,
	"Shukla, Santosh" <santosh.shukla@amd.com>,
	Ananth Narayan <ananth.narayan@amd.com>,
	Sandipan Das <sandipan.das@amd.com>
Subject: Re: [PATCH v4 4/4] perf test amd ibs: Add sample period unit test
Date: Wed, 30 Apr 2025 20:39:47 -0300	[thread overview]
Message-ID: <aBK0wz2QENx9qQEz@x1> (raw)
In-Reply-To: <09f5d37b-0ef8-4cc5-bf60-172c448ff9c7@amd.com>

On Wed, Apr 30, 2025 at 09:37:22PM +0530, Ravi Bangoria wrote:
> Hi Arnaldo,
> 
> > root@number:/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@number:/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@number:/# perf test ibs
 73: AMD IBS via core pmu                                            : Ok
112: AMD IBS sample period                                           : Ok
root@number:/#


root@number:/# 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@number:/# 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@number:/#

But yeah, both are passing on this 9950x3d.

- Arnaldo

  reply	other threads:[~2025-04-30 23:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-29  3:59 [PATCH v4 0/4] perf/amd/ibs: Add Zen5 support (tools changes) Ravi Bangoria
2025-04-29  3:59 ` [PATCH v4 1/4] perf amd ibs: Add Load Latency bits in raw dump Ravi Bangoria
2025-04-30 16:58   ` Namhyung Kim
2025-04-30 17:45     ` Ravi Bangoria
2025-04-29  3:59 ` [PATCH v4 2/4] perf amd ibs: Incorporate Zen5 DTLB and PageSize information Ravi Bangoria
2025-04-29  3:59 ` [PATCH v4 3/4] perf mem/c2c amd: Add ldlat support Ravi Bangoria
2025-04-29  3:59 ` [PATCH v4 4/4] perf test amd ibs: Add sample period unit test Ravi Bangoria
2025-04-29 20:55   ` Arnaldo Carvalho de Melo
2025-04-30  1:13     ` Arnaldo Carvalho de Melo
2025-04-30  1:22       ` Arnaldo Carvalho de Melo
2025-04-30  9:02         ` Ravi Bangoria
2025-04-30 13:06           ` Arnaldo Carvalho de Melo
2025-04-30 13:31             ` Arnaldo Carvalho de Melo
2025-04-30 16:07               ` Ravi Bangoria
2025-04-30 23:39                 ` Arnaldo Carvalho de Melo [this message]
2025-04-30  6:36       ` Ravi Bangoria
2025-04-30  6:33     ` Ravi Bangoria
2025-04-30  2:00 ` [PATCH v4 0/4] perf/amd/ibs: Add Zen5 support (tools changes) Arnaldo Carvalho de Melo
2025-05-13  8:32   ` Ravi Bangoria

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aBK0wz2QENx9qQEz@x1 \
    --to=acme@kernel.org \
    --cc=ananth.narayan@amd.com \
    --cc=eranian@google.com \
    --cc=irogers@google.com \
    --cc=jmario@redhat.com \
    --cc=jolsa@kernel.org \
    --cc=kan.liang@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    --cc=ravi.bangoria@amd.com \
    --cc=sandipan.das@amd.com \
    --cc=santosh.shukla@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox