linux-tools: fix "perf top" on Intel hybrid CPUs.
This commit is contained in:
parent
9ab1570445
commit
d68ab8b704
|
@ -0,0 +1,15 @@
|
|||
https://lore.kernel.org/linux-perf-users/3a8c66ec-537d-4e29-bf08-226dd41b08aa@linux.intel.com/
|
||||
|
||||
--- a/tools/perf/builtin-top.c
|
||||
+++ b/tools/perf/builtin-top.c
|
||||
@@ -1027,8 +1027,8 @@
|
||||
|
||||
evlist__for_each_entry(evlist, counter) {
|
||||
try_again:
|
||||
- if (evsel__open(counter, top->evlist->core.user_requested_cpus,
|
||||
- top->evlist->core.threads) < 0) {
|
||||
+ if (evsel__open(counter, counter->core.cpus,
|
||||
+ counter->core.threads) < 0) {
|
||||
|
||||
/*
|
||||
* Specially handle overwrite fall back.
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'linux-tools'
|
||||
pkgname=linux-tools
|
||||
version=6.5
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=meta
|
||||
hostmakedepends="asciidoc automake flex gettext libtool perl
|
||||
python3-setuptools python3-docutils xmlto pkg-config"
|
||||
|
|
Loading…
Reference in New Issue