diff options
| author | 2024-04-21 14:45:10 -0400 | |
|---|---|---|
| committer | 2024-04-21 17:05:55 -0400 | |
| commit | ae3326ac5742506409a03ce5d69716a8dba4eabc (patch) | |
| tree | b8fb764a50a10fd0475785266f58da96ecf4b389 /lib/string_helpers.c | |
| parent | tools/power turbostat: Add "snapshot:" Makefile target (diff) | |
| download | wireguard-linux-ae3326ac5742506409a03ce5d69716a8dba4eabc.tar.xz wireguard-linux-ae3326ac5742506409a03ce5d69716a8dba4eabc.zip | |
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: Len Brown <len.brown@intel.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
