Jens Axboe | 79d1631 | 2010-03-04 12:43:20 +0100 | [diff] [blame] | 1 | #ifndef FIO_PROFILE_H |
| 2 | #define FIO_PROFILE_H |
| 3 | |
| 4 | #include "flist.h" |
| 5 | |
| 6 | #define FIO_PROFILE_VERSION 1 |
| 7 | |
| 8 | struct profile_ops { |
| 9 | struct flist_head list; |
| 10 | char name[32]; |
| 11 | int version; |
| 12 | int flags; |
| 13 | |
| 14 | const char **def_ops; |
Jens Axboe | e2de69d | 2010-03-04 14:05:48 +0100 | [diff] [blame^] | 15 | struct fio_option *options; |
Jens Axboe | 79d1631 | 2010-03-04 12:43:20 +0100 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | void register_profile(struct profile_ops *); |
| 19 | void unregister_profile(struct profile_ops *); |
| 20 | int load_profile(const char *); |
| 21 | |
| 22 | #endif |