Cleanup profile support
This is closer to where it needs to end up. No ext_options, just
include profile options in the general option table (and mark them
private for that profile).
Profile options are only available after loading a specific profile,
so there should be less confusion.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.c b/fio.c
index 778749d..c33f786 100644
--- a/fio.c
+++ b/fio.c
@@ -40,6 +40,7 @@
#include "verify.h"
#include "diskutil.h"
#include "cgroup.h"
+#include "profile.h"
unsigned long page_mask;
unsigned long page_size;
@@ -1653,6 +1654,9 @@
if (parse_options(argc, argv))
return 1;
+ if (exec_profile && load_profile(exec_profile))
+ return 1;
+
if (!thread_number)
return 0;