diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2010-03-04 14:30:02 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-03-04 14:30:02 +0100 |
commit | 2363d8df7c0c6fe0613dc8e7ae2fa6f098cbc0d8 (patch) | |
tree | 4e01a556596c3ed2112cebefc23304abfc5fd753 /profile.h | |
parent | e2de69dac799a1eecac1b52085f908729591ef5a (diff) | |
download | fio-2363d8df7c0c6fe0613dc8e7ae2fa6f098cbc0d8.tar.gz |
More progress on per-profile options support
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'profile.h')
-rw-r--r-- | profile.h | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -3,16 +3,25 @@ #include "flist.h" -#define FIO_PROFILE_VERSION 1 - struct profile_ops { struct flist_head list; char name[32]; - int version; int flags; - const char **def_ops; + /* + * Profile specific options + */ struct fio_option *options; + + /* + * Called after parsing options, to prepare 'cmdline' + */ + void (*prep_cmd)(void); + + /* + * The complete command line + */ + const char **cmdline; }; void register_profile(struct profile_ops *); |