summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue_types.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2026-04-21 18:35:15 -0400
committerLen Brown <len.brown@intel.com>2026-04-22 11:31:57 -0400
commit08e11edd0e63b72651ed5eb9142430d1ca764923 (patch)
treee904c06ffc311df7d7def743a491c0fb24c4b924 /include/linux/timerqueue_types.h
parent2c52f942fcf21c8e09c7dac669fca591cec2692b (diff)
tools/power turbostat: Fix --cpu-set 1 regression on HT systems
When the "--cpu-set" option limits turbostat to run on a higher numbered HT sibling, it exits upon dividing by zero. This is because the HT support handles higher numbered siblings at the same time as lower numbered siblings. But when that lower number sibling is dis-allowed, the higher numbered sibling is never processed. The result is a time delta of 0, which results in a divide by 0 for any of the "per-second" metrics. Enhance the HT enumeration code to record all siblings (up to SMT4). Consult this complete HT sibling list to determine when to process an HT sibling, and when to skip it. Fixes: a2b4d0f8bf07 ("tools/power turbostat: Favor cpu# over core#") Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions