Skip to content
Commit c25ef0e5 authored by Zhang Rui's avatar Zhang Rui
Browse files

tools/power/turbostat: Handle offlined CPUs in cpu_subset



It is possible that the cpu_subset contains offlined CPUs.

If this happens during start, exit immediately because this is likely an
operator error that is best fixed by re-invoking.
If this happens at runtime, give a warning only because turbostat should
do its best effort to continue running.

Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 0fe37529
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment