chiark / gitweb /
core: turn on memory/cpu/tasks accounting by default for the root slice
authorLennart Poettering <lennart@poettering.net>
Fri, 9 Feb 2018 18:07:01 +0000 (19:07 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:59:09 +0000 (07:59 +0200)
commit8ca5c2226c125a6b266aab556cafe0d6b59bb671
tree0bd89ac6ab4c72c0a87cdb560470f192b99b6183
parent581473bcb149098f94f684c5f526a2ce932a7df1
core: turn on memory/cpu/tasks accounting by default for the root slice

The kernel exposes the necessary data in /proc anyway, let's expose it
hence by default.

With this in place "systemctl status -- -.slice" will show accounting
data out-of-the-box now.
src/core/cgroup.c
src/core/cgroup.h