Commit 7bb3fe27 authored by Zhang Rui's avatar Zhang Rui
Browse files

tools/power/turbostat: Obey allowed CPUs during startup



Set turbostat CPU affinity to make sure turbostat is running on one of
the allowed CPUs.

Set base_cpu to the first allowed CPU so that some platform information
is dumped using one of the allowed CPUs.

Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 4ede6d1c
Supports Markdown
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