All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Ian Rogers <irogers@google.com>
Cc: Thomas Richter <tmricht@linux.ibm.com>,
	linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org,
	linux-perf-users@vger.kernel.org, namhyung@kernel.org,
	agordeev@linux.ibm.com, iii@linux.ibm.com,
	sumanthk@linux.ibm.com, hca@linux.ibm.com, japo@linux.ibm.com,
	Aaron Tomlin <atomlin@atomlin.com>
Subject: Re: [PATCH v2] perf test: perf stat tests fails on s390
Date: Tue, 8 Sep 2026 17:55:13 -0300	[thread overview]
Message-ID: <aqB2MdzuAMAksHuL@x2> (raw)
In-Reply-To: <CAP-5=fUtW=EfB5SOt8iCSsyt4pg_2NhoWvTr=Qf5vEKU5CwZRA@mail.gmail.com>

On Thu, Sep 03, 2026 at 11:17:01AM -0700, Ian Rogers wrote:
> On Thu, Sep 3, 2026 at 12:36 AM Thomas Richter <tmricht@linux.ibm.com> wrote:
> >
> > The test case 'perf stat tests' fails on s390 z/VM machines. The
> > root cause is the unsupported CPU measurement facility on z/VM.
> > Therefore the events cycles and instructions do not exist and
> > are unsupported. This cause the subtest
> >   Hide zero events stat test
> > to fail.
> >
> > Output before:
> >  # perf test 116
> >  116: perf stat tests  : FAILED!
> >
> >  === Test Summary ===
> >  Passed main tests : 0
> >  Passed subtests   : 0
> >  Skipped tests     : 0
> >  Failed tests      : 1
> >  List of failed tests:
> >   116: perf stat tests
> >  #
> >
> > Output after:
> >  # ./perf test 116
> >  116: perf stat tests  : Ok
> >
> >  === Test Summary ===
> >  Passed main tests : 1
> >  Passed subtests   : 0
> >  Skipped tests     : 0
> >  Failed tests      : 0
> >  #
> >
> > Fixes: 64724095a33f ("perf stat: Add --hide-zero-events option to suppress zero-count events")
> > Cc: Aaron Tomlin <atomlin@atomlin.com>
> > Cc: Ian Rogers <irogers@google.com>
> > Cc: Namhyung Kim <namhyung@kernel.org>
> > Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
> > Reviewed-by: Aaron Tomlin <atomlin@atomlin.com>
> 
> Reviewed-by: Ian Rogers <irogers@google.com>

Thanks, applied to perf-tools-next, for v7.4.

- Arnaldo

      reply	other threads:[~2026-09-08 20:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-03  7:35 [PATCH v2] perf test: perf stat tests fails on s390 Thomas Richter
2026-09-03  7:38 ` sashiko-bot
2026-09-03 18:17 ` Ian Rogers
2026-09-08 20:55   ` Arnaldo Carvalho de Melo [this message]

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=aqB2MdzuAMAksHuL@x2 \
    --to=acme@kernel.org \
    --cc=agordeev@linux.ibm.com \
    --cc=atomlin@atomlin.com \
    --cc=hca@linux.ibm.com \
    --cc=iii@linux.ibm.com \
    --cc=irogers@google.com \
    --cc=japo@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=namhyung@kernel.org \
    --cc=sumanthk@linux.ibm.com \
    --cc=tmricht@linux.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.