]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tools/power turbostat: report CoreThr per measurement interval
authorLen Brown <len.brown@intel.com>
Sun, 6 Apr 2025 15:18:39 +0000 (11:18 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:35 +0000 (14:39 +0200)
commit7de8290a66df7229eb78b0ae5249f4bcef0a253f
tree601c4925fec8d57ba11e098f1d37b8bf14b0c1ee
parente9c92880723979c0ba59dba58161da3a4a00884e
tools/power turbostat: report CoreThr per measurement interval

[ Upstream commit f729775f79a9c942c6c82ed6b44bd030afe10423 ]

The CoreThr column displays total thermal throttling events
since boot time.

Change it to report events during the measurement interval.

This is more useful for showing a user the current conditions.
Total events since boot time are still available to the user via
/sys/devices/system/cpu/cpu*/thermal_throttle/*

Document CoreThr on turbostat.8

Fixes: eae97e053fe30 ("turbostat: Support thermal throttle count print")
Reported-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Cc: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/power/x86/turbostat/turbostat.8
tools/power/x86/turbostat/turbostat.c