X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=cgroup.h;h=68ecfcd40ae466a7f455e07c04635b09b7a012ed;hb=4e5b8fb8e2d989789e18b31f9aed969c8fa43cdb;hp=1c67ba80ab36ee1e67f9b454e3d9ed8d62875e53;hpb=39f22027248f658ade599e89c2fe6afae02ac9d7;p=fio.git diff --git a/cgroup.h b/cgroup.h index 1c67ba80..68ecfcd4 100644 --- a/cgroup.h +++ b/cgroup.h @@ -3,24 +3,25 @@ #ifdef FIO_HAVE_CGROUPS -int cgroup_setup(struct thread_data *td); -void cgroup_shutdown(struct thread_data *td); +int cgroup_setup(struct thread_data *, struct flist_head *, char **); +void cgroup_shutdown(struct thread_data *, char **); -void cgroup_kill(void); +void cgroup_kill(struct flist_head *list); #else -static inline int cgroup_setup(struct thread_data *td) +static inline int cgroup_setup(struct thread_data *td, struct flist_head *list, + char **mnt) { td_verror(td, EINVAL, "cgroup_setup"); return 1; } -static inline void cgroup_shutdown(struct thread_data *td) +static inline void cgroup_shutdown(struct thread_data *td, char **mnt) { } -void cgroup_kill(void) +void cgroup_kill(struct flist_head *list) { }