diff options
| author | 2025-12-08 10:01:04 -0500 | |
|---|---|---|
| committer | 2026-02-04 14:52:11 -0600 | |
| commit | d0f7093ad5e4aa37405da2669bca1a62d22b7025 (patch) | |
| tree | 888699e30e8d832d5c6a9c834931dcf1b1f6eae9 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | tools/power turbostat: Dump hypervisor name (diff) | |
tools/power turbostat: Harden against unexpected values
Divide-by-zero resulted if LLC references == 0
Pull the percentage division into pct() to centralize sanity checks there.
Fixes: 8808292799b0 ("tools/power turbostat: Print "nan" for out of range percentages")
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
