]> git.ipfire.org Git - thirdparty/systemd.git/commit
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)
committerLennart Poettering <lennart@poettering.net>
Fri, 9 Feb 2018 18:07:39 +0000 (19:07 +0100)
commitcc6271f17d3c5c200e8a391f10d0afb71403fc28
tree446b2b8ab60c11c3c9d65a7bc0a0474dee1b0f34
parent1f73aa0021417c8ba70c78d16d6f68d3032db4ac
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
src/core/slice.c