From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>,
Ian Rogers <irogers@google.com>, Jiri Olsa <jolsa@kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-perf-users@vger.kernel.org
Subject: perf test bpf-counters failing on some hybrid machines
Date: Sat, 27 Jan 2024 16:46:57 -0300 [thread overview]
Message-ID: <ZbVdsbIUQMqHol7V@kernel.org> (raw)
IIRC there is a patch by Thomas Richter for s390 for this? I'll check
Fails:
root@number:~# uname -a
Linux number 6.6.13-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jan 20 18:03:28 UTC 2024 x86_64 GNU/Linux
root@number:~#
root@number:~# perf test -v 106
106: perf stat --bpf-counters test :
--- start ---
test child forked, pid 997337
The difference between 292281328 and 383336121 are greater than 10%.
test child finished with -1
---- end ----
perf stat --bpf-counters test: FAILED!
root@number:~# grep -m1 "model name" /proc/cpuinfo
model name : Intel(R) Core(TM) i7-14700K
root@number:~#
Fails sometimes:
root@x1:~# uname -a
Linux x1 6.6.13-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jan 20 18:03:28 UTC 2024 x86_64 GNU/Linux
root@x1:~# perf test 106
106: perf stat --bpf-counters test : Ok
root@x1:~# grep -m1 "model name" /proc/cpuinfo
model name : 13th Gen Intel(R) Core(TM) i7-1365U
root@x1:~# perf test 106
106: perf stat --bpf-counters test : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test : FAILED!
root@x1:~# perf test 106
106: perf stat --bpf-counters test : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test : FAILED!
root@x1:~# perf test 106
106: perf stat --bpf-counters test : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test : Ok
root@x1:~# perf test -v 106
106: perf stat --bpf-counters test :
--- start ---
test child forked, pid 279934
test child finished with 0
---- end ----
perf stat --bpf-counters test: Ok
root@x1:~# perf test -v 106
106: perf stat --bpf-counters test :
--- start ---
test child forked, pid 280029
The difference between 261175698 and 219929411 are greater than 10%.
test child finished with -1
---- end ----
perf stat --bpf-counters test: FAILED!
root@x1:~# perf test -v 106
106: perf stat --bpf-counters test :
--- start ---
test child forked, pid 280124
The difference between 251455173 and 299125735 are greater than 10%.
test child finished with -1
---- end ----
perf stat --bpf-counters test: FAILED!
root@x1:~#
- Arnaldo
reply other threads:[~2024-01-27 19:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=ZbVdsbIUQMqHol7V@kernel.org \
--to=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=irogers@google.com \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=namhyung@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).