]> git.ipfire.org Git - thirdparty/linux.git/commit
perf/x86/rapl: Remove the cpu_to_rapl_pmu() function
authorDhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Fri, 15 Nov 2024 06:07:59 +0000 (06:07 +0000)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 2 Dec 2024 11:01:35 +0000 (12:01 +0100)
commit1d5e2f637a94a8ca8c8a1e292dd98ee80aa92815
tree1e74f979fe1dbb7b0184593c9a9723cc1a2000e4
parente4b444347795a1ecc083895582bc2e7f288a22e4
perf/x86/rapl: Remove the cpu_to_rapl_pmu() function

Prepare for the addition of RAPL core energy counter support.
Post which, one CPU might be mapped to more than one rapl_pmu
(package/die one and a core one). So, remove the cpu_to_rapl_pmu()
function.

Signed-off-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20241115060805.447565-4-Dhananjay.Ugwekar@amd.com
arch/x86/events/rapl.c