diff options
| author | Len Brown <len.brown@intel.com> | 2026-04-16 16:17:31 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2026-04-22 11:31:57 -0400 |
| commit | 2c52f942fcf21c8e09c7dac669fca591cec2692b (patch) | |
| tree | 2daf276cea949103fda1b961849c0094a8b56248 /include/linux | |
| parent | ce012c966b518c53475ba9a4e979242d7322d819 (diff) | |
tools/power turbostat: Fix --cpu-set 0 regression on HT systems
"turbostat --cpu-set 0" appears to hang if cpu0 has an HT sibling.
This is because the initialization code recognizes that it does not
have to open perf files for the HT sibling, but the HT support
in the collection code sees the HT sibling and tries to read
from an uninitialized file descriptor, 0 (standard input).
Access HT siblings only when they are in the allowed set.
Fixes: a2b4d0f8bf07 ("tools/power turbostat: Favor cpu# over core#")
Signed-off-by: Len Brown <len.brown@intel.com>
Reported-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
