blob: 65fa3ad128ce5d036d74a0f9ca5e80f26deb3c1b [file] [log] [blame]
Jens Axboea696fa22009-12-04 10:05:02 +01001#ifndef FIO_CGROUP_H
2#define FIO_CGROUP_H
3
4#ifdef FIO_HAVE_CGROUPS
5
6int cgroup_setup(struct thread_data *td);
7void cgroup_shutdown(struct thread_data *td);
8
9#else
10
11static inline int cgroup_setup(struct thread_data *td)
12{
13 td_verror(td, EINVAL, "cgroup_setup");
14 return 1;
15}
16
17static inline void cgroup_shutdown(struct thread_data *td)
18{
19}
20
21#endif
22#endif