blob: 1c67ba80ab36ee1e67f9b454e3d9ed8d62875e53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef FIO_CGROUP_H
#define FIO_CGROUP_H
#ifdef FIO_HAVE_CGROUPS
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)
{
td_verror(td, EINVAL, "cgroup_setup");
return 1;
}
static inline void cgroup_shutdown(struct thread_data *td)
{
}
void cgroup_kill(void)
{
}
#endif
#endif
|