summaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>2025-01-14 18:11:28 +0300
committerLen Brown <len.brown@intel.com>2025-01-27 20:35:22 +0300
commit7c6fee25bdf5c8f8a1bcc6fa3566fffb7fe9eb9a (patch)
treec81fb0556267dccf023356f5d1c5775420dba5e7 /scripts/clang-tools/gen_compile_commands.py
parent1af5baeda512d0940748fdf9b559e1041dbab0cf (diff)
downloadlinux-7c6fee25bdf5c8f8a1bcc6fa3566fffb7fe9eb9a.tar.xz
tools/power turbostat: Check for non-zero value when MSR probing
For some MSRs, for example, the Platform Energy Counter (RAPL PSYS), it is required to additionally check for a non-zero value to confirm that it is present. From Intel SDM vol. 4: Platform Energy Counter (R/O) This MSR is valid only if both platform vendor hardware implementation and BIOS enablement support it. This MSR will read 0 if not valid. Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions