+
+int show_cgroup(const char *controller, const char *path, const char *prefix, unsigned n_columns) {
+ char *p;
+ int r;
+
+ assert(controller);
+ assert(path);
+
+ if ((r = cg_get_path(controller, path, NULL, &p)) < 0)
+ return r;
+
+ r = show_cgroup_by_path(p, prefix, n_columns);
+ free(p);
+
+ return r;
+}