summaryrefslogtreecommitdiff
path: root/kernel/exec_domain.c
diff options
context:
space:
mode:
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>2024-08-20 18:47:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 09:58:09 +0100
commitcd89d5745a180c27b1fdda674835a9d3a9675f0a (patch)
treeea10dd3b7983823c952cd248cdf7b1335bb16320 /kernel/exec_domain.c
parent9bbb93a9e8d02c55155504b9020f19782b968c63 (diff)
downloadlinux-cd89d5745a180c27b1fdda674835a9d3a9675f0a.tar.gz
linux-cd89d5745a180c27b1fdda674835a9d3a9675f0a.tar.bz2
linux-cd89d5745a180c27b1fdda674835a9d3a9675f0a.zip
tools/power turbostat: Allow using cpu device in perf counters on hybrid platforms
[ Upstream commit ae2cdf8d92ffc326104524a1f9da4cf75b6ea996 ] Intel hybrid platforms expose different perf devices for P and E cores. Instead of one, "/sys/bus/event_source/devices/cpu" device, there are "/sys/bus/event_source/devices/{cpu_core,cpu_atom}". This, however makes it more complicated for the user, because most of the counters are available on both and had to be handled manually. This patch allows users to use "virtual" cpu device that is seemingly translated to cpu_core and cpu_atom perf devices, depending on the type of a CPU we are opening the counter for. Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com> Stable-dep-of: 2f60f03934a5 ("tools/power turbostat: Fix PMT mmaped file size rounding") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/exec_domain.c')
0 files changed, 0 insertions, 0 deletions