Add initial support for profile specific options
[fio.git] / options.h
CommitLineData
9f988e2e
JA
1#ifndef FIO_OPTION_H
2#define FIO_OPTION_H
3
4#include "parse.h"
5#include "flist.h"
6
7#define td_var_offset(var) ((size_t) &((struct thread_options *)0)->var)
8
9struct ext_option {
10 struct flist_head list;
e2de69da 11 const char *prof_name;
9f988e2e
JA
12 struct fio_option o;
13};
14
e2de69da
JA
15void register_ext_option(struct ext_option *);
16void prune_profile_options(const char *);
9f988e2e
JA
17
18#endif