tools/power turbostat: Support more than 64 built-in-counters
authorLen Brown <len.brown@intel.com>
Sat, 12 Jul 2025 20:16:56 +0000 (16:16 -0400)
committerLen Brown <len.brown@intel.com>
Sun, 10 Aug 2025 01:23:45 +0000 (21:23 -0400)
commit8d14a098b47cc7e5cfa703b9e015d6ca1074489a
tree83c5d2e3bd63e800536507e4065e1dd6cfb611d7
parentd240b441b5cbb389f90fce37edb9ef76a3c9a42b
tools/power turbostat: Support more than 64 built-in-counters

We have out-grown the ability to use a 64-bit memory location
to inventory every possible built-in counter.
Leverage the the CPU_SET(3) macros to break this barrier.

Also, break the Joules & Watts counters into two,
since we can no longer 'or' them together...

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