| Jens Axboe | 9f988e2 | 2010-03-04 10:42:38 +0100 | [diff] [blame] | 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 |  | 
|  | 9 | struct ext_option { | 
|  | 10 | struct flist_head list; | 
| Jens Axboe | e2de69d | 2010-03-04 14:05:48 +0100 | [diff] [blame] | 11 | const char *prof_name; | 
| Jens Axboe | 9f988e2 | 2010-03-04 10:42:38 +0100 | [diff] [blame] | 12 | struct fio_option o; | 
|  | 13 | }; | 
|  | 14 |  | 
| Jens Axboe | e2de69d | 2010-03-04 14:05:48 +0100 | [diff] [blame] | 15 | void register_ext_option(struct ext_option *); | 
|  | 16 | void prune_profile_options(const char *); | 
| Jens Axboe | 9f988e2 | 2010-03-04 10:42:38 +0100 | [diff] [blame] | 17 |  | 
|  | 18 | #endif |