From 2363d8df7c0c6fe0613dc8e7ae2fa6f098cbc0d8 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 4 Mar 2010 14:30:02 +0100 Subject: More progress on per-profile options support Signed-off-by: Jens Axboe --- profile.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'profile.h') diff --git a/profile.h b/profile.h index 5268d4ae..8ea77d9b 100644 --- a/profile.h +++ b/profile.h @@ -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 *); -- cgit v1.2.3