diff options
author | Zhang Rui <rui.zhang@intel.com> | 2023-10-20 04:39:22 +0300 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2023-10-24 08:38:09 +0300 |
commit | f638858da0925b29122f05135663013dc240eaf9 (patch) | |
tree | 2a4b6e7a67054f028020c43a8a204f630203ba48 /scripts/gdb/linux/interrupts.py | |
parent | 8c3dd2c9e54273922ea71b2a4c0e77fc624c396b (diff) | |
download | linux-f638858da0925b29122f05135663013dc240eaf9.tar.xz |
tools/power/turbostat: Handle cgroup v2 cpu limitation
CPUs can be isolated via cgroup settings and turbostat should avoid
migrating to these CPUs, just like it does for the '-c' cpus.
Introduce cpu_effective_set to save the cgroup cpu limitation info from
/sys/fs/cgroup/cpuset.cpus.effective. And use cpu_allowed_set as the
intersection of cpu_present_set, cpu_effective_set and cpu_subset.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions