1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-02-15 09:27:50 +00:00
Patrick Bellasi a65ff13617 cgroups: fix attributes reporting for controller with only one attribute
The current code used to read the attributes values for a controller uses
a "grep '' CONTROLLER.*" under the assumption that the output is a list of
   file:value
However, if there is a single controller attribute, grep does not report
the file name in output thus returning an empty list at the python side.

This patch fix that issue by also switching to the usage of a shutil
implementation of the attributes parsing code.

Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
2016-02-24 11:22:48 +00:00
..
2015-10-09 09:30:04 +01:00
2015-10-09 09:30:04 +01:00
2015-10-09 09:30:04 +01:00