diff --git a/srcpkgs/linux-tools/patches/perf.patch b/srcpkgs/linux-tools/patches/perf.patch new file mode 100644 index 00000000000..87d96156241 --- /dev/null +++ b/srcpkgs/linux-tools/patches/perf.patch @@ -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. diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template index 66b9c25de69..86f79b5946e 100644 --- a/srcpkgs/linux-tools/template +++ b/srcpkgs/linux-tools/template @@ -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"