chiark / gitweb /
core: cache last CPU usage counter, before destorying a cgroup
authorLennart Poettering <lennart@poettering.net>
Thu, 18 Aug 2016 18:58:10 +0000 (20:58 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 5 Jul 2017 06:50:51 +0000 (08:50 +0200)
It is useful for clients to be able to read the last CPU usage counter value of
a unit even if the unit is already terminated. Hence, before destroying a
cgroup's cgroup cache the last CPU usage counter and return it if the cgroup is
gone.


No differences found