summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-03-19 14:37:08 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-19 14:37:08 +0100
commite8b0e958cd219cabb1154e2b06036863a7d6dbd7 (patch)
tree087addae701fe43c30412a436079b1ca6aafe981 /profiles
parent122c772599f1b0a3148a5790775698d3fa92cc10 (diff)
gfio: improve option edit
Allow grouping of options into both categories, and groups. The groups are within a category. This shrinks down the number of job edit tabs a lot. Work in progress... Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/tiobench.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/profiles/tiobench.c b/profiles/tiobench.c
index 517d937..5ab602a 100644
--- a/profiles/tiobench.c
+++ b/profiles/tiobench.c
@@ -23,39 +23,44 @@ static const char *tb_opts[] = {
static struct fio_option options[] = {
{
.name = "size",
+ .lname = "Tiobench size",
.type = FIO_OPT_STR_VAL,
.roff1 = &size,
.help = "Size in MB",
- .category = FIO_OPT_G_IO,
+ .category = FIO_OPT_C_IO,
},
{
.name = "block",
+ .lname = "Tiobench block",
.type = FIO_OPT_INT,
.roff1 = &bs,
.help = "Block size in bytes",
.def = "4k",
- .category = FIO_OPT_G_IO,
+ .category = FIO_OPT_C_IO,
},
{
.name = "numruns",
+ .lname = "Tiobench numruns",
.type = FIO_OPT_INT,
.roff1 = &loops,
.help = "Number of runs",
- .category = FIO_OPT_G_JOB,
+ .category = FIO_OPT_C_GENERAL,
},
{
.name = "dir",
+ .lname = "Tiobench directory",
.type = FIO_OPT_STR_STORE,
.roff1 = &dir,
.help = "Test directory",
- .category = FIO_OPT_G_FILE,
+ .category = FIO_OPT_C_FILE,
},
{
.name = "threads",
+ .lname = "Tiobench threads",
.type = FIO_OPT_INT,
.roff1 = &nthreads,
.help = "Number of Threads",
- .category = FIO_OPT_G_JOB,
+ .category = FIO_OPT_C_GENERAL,
},
{
.name = NULL,