summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSumanth Korikkar <sumanthk@linux.ibm.com>2024-12-12 19:17:19 +0300
committerAlexander Gordeev <agordeev@linux.ibm.com>2024-12-17 14:46:14 +0300
commit90e6f191e1ee094d13faae5fc29af7b5baf9d1b8 (patch)
tree8ca0bcc21e649083b6617145bbdef62ad24ce06d /scripts/gdb/linux/utils.py
parent2478d43ed621c4d15549142c0cfe6fa4a05e5f10 (diff)
downloadlinux-90e6f191e1ee094d13faae5fc29af7b5baf9d1b8.tar.xz
s390/diag324: Retrieve power readings via diag 0x324
Retrieve electrical power readings for resources in a computing environment via diag 0x324. diag 0x324 stores the power readings in the power information block (pib). Provide power readings from pib via diag324 ioctl interface. diag324 ioctl provides new pib to the user only if the threshold time has passed since the last call. Otherwise, cache data is returned. When there are no active readers, cleanup of pib buffer is performed. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions