linux/tools/power
Srinivas Pandruvada 37f68a2940 tools/power/turbostat: Move process to root cgroup
When available CPUs are reduced via cgroup cpuset controller, turbostat
will exit with errors (For example):
	get_counters: Could not migrate to CPU 0
	turbostat: re-initialized with num_cpus 20
	get_counters: Could not migrate to CPU 0
	turbostat: re-initialized with num_cpus 20

Move the turbostat to root cgroup, which has every CPU.

Writing the value 0 to a cgroup.procs file causes the writing
process to be moved to the corresponding cgroup.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Tested-by: Zhang Rui <rui.zhang@intel.com>
2023-10-24 13:38:09 +08:00
..
acpi ACPICA: Update all copyrights/signons to 2023 2023-04-06 20:29:11 +02:00
cpupower cpupower: Add Georgian translation to Makefile LANGUAGES 2023-08-17 14:28:16 -06:00
pm-graph PM: tools: sleepgraph: Recognize "CPU killed" messages 2023-03-27 19:24:08 +02:00
x86 tools/power/turbostat: Move process to root cgroup 2023-10-24 13:38:09 +08:00