summaryrefslogtreecommitdiffstats
path: root/libcgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcgroup.h')
-rw-r--r--libcgroup.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcgroup.h b/libcgroup.h
index c9e9689..97c663d 100644
--- a/libcgroup.h
+++ b/libcgroup.h
@@ -255,6 +255,12 @@ int cgroup_reload_cached_rules(void);
*/
int cgroup_init_rules_cache(void);
+/**
+ * Get the current cgroup path where the task specified by pid_t pid
+ * has been classified
+ */
+int cgroup_get_current_controller_path(pid_t pid, const char *controller,
+ char **current_path);
/* The wrappers for filling libcg structures */