diff options
author | Prarit Bhargava <prarit@redhat.com> | 2018-09-25 15:59:26 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2019-03-21 06:11:44 +0300 |
commit | 5ea7647b333f3580697edaaf2b17a2f6d29a82f1 (patch) | |
tree | d95e968c593f15d4738f3989d1982186d2e507dc /scripts/bpf_helpers_doc.py | |
parent | 8173c336989c1a12290cd023969df2775b2df34d (diff) | |
download | linux-5ea7647b333f3580697edaaf2b17a2f6d29a82f1.tar.xz |
tools/power turbostat: Warn on bad ACPI LPIT data
On some systems /sys/devices/system/cpu/cpuidle/low_power_idle_cpu_residency_us
or /sys/devices/system/cpu/cpuidle/low_power_idle_system_residency_us
return a file error because of bad ACPI LPIT data from a misconfigured BIOS.
turbostat interprets this failure as a fatal error and outputs
turbostat: CPU LPI: No data available
If the ACPI LPIT sysfs files return an error output a warning instead of
a fatal error, disable the ACPI LPIT evaluation code, and continue.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions