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

tools/power/turbostat: Introduce cpu_allowed_set



Turbostat supports "-c" parameter which limits output to system summary
plus the specified cpu-set. But some code still uses cpu_present_set to
read and dump the counters.

Introduce cpu_allowed_set for code that should obey the specified cpu-set.

No functional change.

Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 6b74a30b
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