.name = "Logging",
.mask = FIO_OPT_C_LOG,
},
+ {
+ .name = "Profiles",
+ .mask = FIO_OPT_C_PROFILE,
+ },
{
.name = NULL,
},
.name = "I/O buffers",
.mask = FIO_OPT_G_IO_BUF,
},
+ {
+ .name = "Tiobench profile",
+ .mask = FIO_OPT_G_TIOBENCH,
+ },
+
{
.name = NULL,
}
.type = FIO_OPT_STR_STORE,
.off1 = td_var_offset(profile),
.help = "Select a specific builtin performance test",
- .category = FIO_OPT_C_GENERAL,
+ .category = FIO_OPT_C_PROFILE,
.group = FIO_OPT_G_INVALID,
},
{
__FIO_OPT_C_FILE,
__FIO_OPT_C_STAT,
__FIO_OPT_C_LOG,
+ __FIO_OPT_C_PROFILE,
__FIO_OPT_C_NR,
FIO_OPT_C_GENERAL = (1U << __FIO_OPT_C_GENERAL),
FIO_OPT_C_FILE = (1U << __FIO_OPT_C_FILE),
FIO_OPT_C_STAT = (1U << __FIO_OPT_C_STAT),
FIO_OPT_C_LOG = (1U << __FIO_OPT_C_LOG),
+ FIO_OPT_C_PROFILE = (1U << __FIO_OPT_C_PROFILE),
FIO_OPT_C_INVALID = (1U << __FIO_OPT_C_NR),
};
__FIO_OPT_G_THINKTIME,
__FIO_OPT_G_RANDOM,
__FIO_OPT_G_IO_BUF,
+ __FIO_OPT_G_TIOBENCH,
__FIO_OPT_G_NR,
FIO_OPT_G_RATE = (1U << __FIO_OPT_G_RATE),
FIO_OPT_G_THINKTIME = (1U << __FIO_OPT_G_THINKTIME),
FIO_OPT_G_RANDOM = (1U << __FIO_OPT_G_RANDOM),
FIO_OPT_G_IO_BUF = (1U << __FIO_OPT_G_IO_BUF),
+ FIO_OPT_G_TIOBENCH = (1U << __FIO_OPT_G_TIOBENCH),
FIO_OPT_G_INVALID = (1U << __FIO_OPT_G_NR),
};
.type = FIO_OPT_STR_VAL,
.roff1 = &size,
.help = "Size in MB",
- .category = FIO_OPT_C_IO,
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOBENCH,
},
{
.name = "block",
.roff1 = &bs,
.help = "Block size in bytes",
.def = "4k",
- .category = FIO_OPT_C_IO,
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOBENCH,
},
{
.name = "numruns",
.type = FIO_OPT_INT,
.roff1 = &loops,
.help = "Number of runs",
- .category = FIO_OPT_C_GENERAL,
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOBENCH,
},
{
.name = "dir",
.type = FIO_OPT_STR_STORE,
.roff1 = &dir,
.help = "Test directory",
- .category = FIO_OPT_C_FILE,
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOBENCH,
},
{
.name = "threads",
.type = FIO_OPT_INT,
.roff1 = &nthreads,
.help = "Number of Threads",
- .category = FIO_OPT_C_GENERAL,
+ .category = FIO_OPT_C_PROFILE,
+ .group = FIO_OPT_G_TIOBENCH,
},
{
.name = NULL,