Skip to content
Commit ae3326ac authored by Len Brown's avatar Len Brown
Browse files

tools/power turbostat: Harden probe_intel_uncore_frequency()



If sysfs directory "intel_uncore_frequency/cluster00/" exists,
then use uncore cluster code (now its own routine).

The previous check for
"intel_uncore_frequency/package_00_die_00/current_freq_khz",
could be unreliable in the face of sparse die id's.

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 231ce08b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment