summaryrefslogtreecommitdiff
path: root/src/shared/cgroup-show.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/cgroup-show.h')
-rw-r--r--src/shared/cgroup-show.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/cgroup-show.h b/src/shared/cgroup-show.h
index 5c1d6e6d98..0574f40552 100644
--- a/src/shared/cgroup-show.h
+++ b/src/shared/cgroup-show.h
@@ -30,3 +30,7 @@ int show_cgroup(const char *controller, const char *path, const char *prefix, un
int show_cgroup_and_extra_by_spec(const char *spec, const char *prefix, unsigned n_columns, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags);
int show_cgroup_and_extra(const char *controller, const char *path, const char *prefix, unsigned n_columns, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags);
+
+int show_cgroup_get_root_and_warn(
+ const char *machine,
+ char **ret);