summaryrefslogtreecommitdiff
path: root/src/shared/cgroup-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-12-23 11:56:13 +0100
committerLennart Poettering <lennart@poettering.net>2012-12-24 00:29:39 +0100
commitb08121d00467874ac9aa0dc6f59787877f1bb427 (patch)
tree02ec43591a75af54925396411ada914dabe01e22 /src/shared/cgroup-util.h
parent81dc4bde12acd0a59ad96a505dbb109a9e4f320e (diff)
systemctl: don't show cgroup field for a unit if cgroup is empty
Diffstat (limited to 'src/shared/cgroup-util.h')
-rw-r--r--src/shared/cgroup-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/cgroup-util.h b/src/shared/cgroup-util.h
index 697669deba..af2efc39b4 100644
--- a/src/shared/cgroup-util.h
+++ b/src/shared/cgroup-util.h
@@ -65,6 +65,7 @@ int cg_set_task_access(const char *controller, const char *path, mode_t mode, ui
int cg_install_release_agent(const char *controller, const char *agent);
int cg_is_empty(const char *controller, const char *path, bool ignore_self);
+int cg_is_empty_by_spec(const char *spec, bool ignore_self);
int cg_is_empty_recursive(const char *controller, const char *path, bool ignore_self);
int cg_get_user_path(char **path);