summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/libcgroup.h2
-rw-r--r--src/libcgroup.map1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/libcgroup.h b/include/libcgroup.h
index 085c17a..c526f58 100644
--- a/include/libcgroup.h
+++ b/include/libcgroup.h
@@ -331,6 +331,8 @@ int cgroup_get_value_bool(struct cgroup_controller *controller,
const char *name, bool *value);
int cgroup_set_value_bool(struct cgroup_controller *controller,
const char *name, bool value);
+struct cgroup_controller *cgroup_get_controller(struct cgroup *cgroup,
+ const char *name);
/*
* Config related stuff
*/
diff --git a/src/libcgroup.map b/src/libcgroup.map
index 4b95daa..539687f 100644
--- a/src/libcgroup.map
+++ b/src/libcgroup.map
@@ -62,4 +62,5 @@ global:
cgroup_read_stats_begin;
cgroup_read_stats_next;
cgroup_read_stats_end;
+ cgroup_get_controller;
} CGROUP_0.33;