summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2025-02-08 13:53:19 +0200
committerLen Brown <len.brown@intel.com>2025-02-20 01:03:34 -0500
commited625c61b85c2333324dca43146c4ebabf8b236f (patch)
tree77e94ae52d3c5b1e9585e344c5140bbbce43011e /tools/perf/scripts/python/export-to-sqlite.py
parent5132681dcd96b2a8c357b6e5d93e9876924bb80b (diff)
downloadlinux-stable-ed625c61b85c2333324dca43146c4ebabf8b236f.tar.gz
linux-stable-ed625c61b85c2333324dca43146c4ebabf8b236f.tar.bz2
linux-stable-ed625c61b85c2333324dca43146c4ebabf8b236f.zip
tools/power turbostat: Add idle governor statistics reporting
The idle governor provides the following per-idle state sysfs files: * above - Indicates overshoots, where a more shallow state should have been requested (if avaliale and enabled). * below - Indicates undershoots, where a deeper state should have been requested (if available and enabled). These files offer valuable insights into how effectively the Linux kernel idle governor selects idle states for a given workload. This commit adds support for these files in turbostat. Expose the contents of these files with the following naming convention: * C1: The number of times the C1 state was requested (existing counter). * C1+: The number of times the idle governor selected C1, but a deeper idle state should have been selected instead. * C1-: The number of times the idle governor selected C1, but a shallower idle state should have been selected instead. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions