X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=options.c;h=e0deab0a4d1020eed452078b521341a4c514bc15;hb=2c48ab2efb7397b933d5b7e552da8c8245744c10;hp=dcf0eeabba188c718170554e156e774d5d54250d;hpb=ae3a5accfdbe1fbfde6ba4ab583887a7d3d779ac;p=fio.git diff --git a/options.c b/options.c index dcf0eeab..e0deab0a 100644 --- a/options.c +++ b/options.c @@ -3865,6 +3865,16 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { .category = FIO_OPT_C_STAT, .group = FIO_OPT_G_INVALID, }, + { + .name = "stats", + .lname = "Stats", + .type = FIO_OPT_BOOL, + .off1 = offsetof(struct thread_options, stats), + .help = "Enable collection of stats", + .def = "1", + .category = FIO_OPT_C_STAT, + .group = FIO_OPT_G_INVALID, + }, { .name = "zero_buffers", .lname = "Zero I/O buffers",