tools/power turbostat: Allocate average counters dynamically
authorLen Brown <len.brown@intel.com>
Sun, 8 Feb 2026 18:08:26 +0000 (12:08 -0600)
committerLen Brown <len.brown@intel.com>
Fri, 13 Feb 2026 14:53:17 +0000 (08:53 -0600)
commit3cecd4a62d227d86ec6eb5387add0ca3d4d02b27
tree2abfde3efda070f971788a57480fe6c757619b4b
parent439632cf95d369ea05841d45d48fbd1d5968d268
tools/power turbostat: Allocate average counters dynamically

The current static definition of average{} is inconsistent with
the dynamically allocated even{} and odd{} counters.

Allocate average{} counters dynamically.

No functional change.

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