]> git.ipfire.org Git - thirdparty/linux.git/commit
tools/power turbostat: Cleanup internal use of "base_cpu"
authorLen Brown <len.brown@intel.com>
Sat, 7 Feb 2026 16:17:38 +0000 (10:17 -0600)
committerLen Brown <len.brown@intel.com>
Fri, 13 Feb 2026 14:53:17 +0000 (08:53 -0600)
commit54ca69f33cf1b67dd3dc9555fb9d82c83ee3ba89
treeac92c445fd94d4b09a79d1dfeaaaa0f9fbb23a64
parentdd23bfe4c317a9b5cbb4edfd36e5b8df12e84b8d
tools/power turbostat: Cleanup internal use of "base_cpu"

Disambiguate the uses "base_cpu":

master_cpu: lowest permitted cpu#, read global MSRs here
package_data.first_cpu: lowest permitted cpu# in that package
core_data.first_cpu: lowest permitted cpu# in the core
current_cpu: where I'm running now

No functional change.

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c