diff options
Diffstat (limited to 'include/libcgroup.h')
-rw-r--r-- | include/libcgroup.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libcgroup.h b/include/libcgroup.h index c526f58..149a560 100644 --- a/include/libcgroup.h +++ b/include/libcgroup.h @@ -256,6 +256,16 @@ int cgroup_walk_tree_next(const int depth, void **handle, int cgroup_walk_tree_end(void **handle); /** + * This API is used to set the flags for walk_tree API. Currently availble + * flags are + * + * CGROUP_WALK_TYPE_PRE_DIR + * CGROUP_WALK_TYPE_POST_DIR + * + */ +int cgroup_walk_tree_set_flags(void **handle, int flags); + +/** * Read the statistics values for the specified controller * @controller: Name of the controller for which stats are requested. * @path: cgroup path. |