diff options
author | Tom Gundersen <teg@jklm.no> | 2015-09-01 19:48:04 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-09-01 19:48:04 +0200 |
commit | fc94c3260549c12892461be031c4b9dc122ca1ef (patch) | |
tree | 3b9bf7eccf1690daa57da5419d29554175605c20 /src/core/cgroup.h | |
parent | 332929623af07716530fb0d0a30e792b564ea486 (diff) | |
parent | d06673212e7672da44d5147d1d393278d9b1b478 (diff) |
Merge pull request #1111 from poettering/more-cgroup-fixes
More cgroup fixes
Diffstat (limited to 'src/core/cgroup.h')
-rw-r--r-- | src/core/cgroup.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/cgroup.h b/src/core/cgroup.h index 869ddae8c4..7b38d210fb 100644 --- a/src/core/cgroup.h +++ b/src/core/cgroup.h @@ -130,5 +130,7 @@ int unit_get_memory_current(Unit *u, uint64_t *ret); int unit_get_cpu_usage(Unit *u, nsec_t *ret); int unit_reset_cpu_usage(Unit *u); +bool unit_cgroup_delegate(Unit *u); + const char* cgroup_device_policy_to_string(CGroupDevicePolicy i) _const_; CGroupDevicePolicy cgroup_device_policy_from_string(const char *s) _pure_; |