summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2023-10-20 04:39:22 +0300
committerZhang Rui <rui.zhang@intel.com>2023-10-24 08:38:09 +0300
commitf638858da0925b29122f05135663013dc240eaf9 (patch)
tree2a4b6e7a67054f028020c43a8a204f630203ba48 /scripts/gdb/linux/interrupts.py
parent8c3dd2c9e54273922ea71b2a4c0e77fc624c396b (diff)
downloadlinux-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