summaryrefslogtreecommitdiff
path: root/cgroup.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-12-04 11:29:12 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-12-04 11:29:12 +0100
commit39f22027248f658ade599e89c2fe6afae02ac9d7 (patch)
treedeb06c9101743c7f52f4e397269cdd387f81625f /cgroup.h
parentddf16fe4da558a2778bf1ba06c965080d318cb24 (diff)
downloadfio-39f22027248f658ade599e89c2fe6afae02ac9d7.tar.gz
fio-39f22027248f658ade599e89c2fe6afae02ac9d7.tar.bz2
Better support for setting up and removing private cgroups
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'cgroup.h')
-rw-r--r--cgroup.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cgroup.h b/cgroup.h
index 65fa3ad1..1c67ba80 100644
--- a/cgroup.h
+++ b/cgroup.h
@@ -6,6 +6,8 @@
int cgroup_setup(struct thread_data *td);
void cgroup_shutdown(struct thread_data *td);
+void cgroup_kill(void);
+
#else
static inline int cgroup_setup(struct thread_data *td)
@@ -18,5 +20,9 @@ static inline void cgroup_shutdown(struct thread_data *td)
{
}
+void cgroup_kill(void)
+{
+}
+
#endif
#endif