mirror of
https://github.com/ARM-software/devlib.git
synced 2025-02-12 07:58:07 +00:00
4b36439de8
The set() method of the CGroup class used to freeze tasks relies on target's write_value(). Sometimes, the freezing procedure takes some time and the call to write_value() in set() fails by reading "FREEZING" while it expected "FROZEN". To avoid this issue, this commits introduces a shutil call dedicated to changing the state of the freezer controller.