summaryrefslogtreecommitdiff
path: root/cgroup.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-12-07 08:01:26 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-12-07 08:01:26 +0100
commit6adb38a1a1cbe95f7131815416c8bb31683c3f47 (patch)
tree8ea9e7f59890e868e78f23c46725da4af0c41f36 /cgroup.h
parented81ee199ec8f3cdfcdc78ff067a0397c3b02f5f (diff)
downloadfio-6adb38a1a1cbe95f7131815416c8bb31683c3f47.tar.gz
fio-6adb38a1a1cbe95f7131815416c8bb31683c3f47.tar.bz2
Autodetect cgroup blkio mount point
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'cgroup.h')
-rw-r--r--cgroup.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/cgroup.h b/cgroup.h
index b246ef86..f7ad210d 100644
--- a/cgroup.h
+++ b/cgroup.h
@@ -3,20 +3,21 @@
#ifdef FIO_HAVE_CGROUPS
-int cgroup_setup(struct thread_data *td, struct flist_head *list);
-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(struct flist_head *list);
#else
-static inline int cgroup_setup(struct thread_data *td, struct flist_head *list);
+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)
{
}