aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2026-08-22 07:59:03 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2026-08-23 08:09:36 +0000
commitd2e7fcb6dd79691d336c3700e4727a887e5cabdc (patch)
tree8e4ca0721a1e139a2f2493b58a522bb815d438d1 /packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
parent469727f0637beec05e0478c1391e3df1e684e53c (diff)
hwpmc: do not register RAPL when the unit register reads as zero
An energy status unit of zero means one joule per raw tick, which no part reports; it is what a hypervisor returns for an MSR it does not implement. Both energy rows are scaled by that field, so the class would be registered with counters that read zero forever. Refuse it, as the class is already refused when no energy MSR responds. Assisted-by: Claude Code (Opus 5)
Diffstat (limited to 'packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions