blob: 96c81a17c8770be00fa0f01a6a94676378b6bfd6 [file] [log] [blame]
Jens Axboe9f988e22010-03-04 10:42:38 +01001#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;
Jens Axboee2de69d2010-03-04 14:05:48 +010011 const char *prof_name;
Jens Axboe9f988e22010-03-04 10:42:38 +010012 struct fio_option o;
13};
14
Jens Axboee2de69d2010-03-04 14:05:48 +010015void register_ext_option(struct ext_option *);
16void prune_profile_options(const char *);
Jens Axboe9f988e22010-03-04 10:42:38 +010017
18#endif