X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=profiles%2Ftiobench.c;h=8af6f4edb1116984e3192c3c8c059d06d46c2826;hb=a9179eebb0e70013b4a7be0073c9c55efdd6058c;hp=99c88c4507006176707804fc133aa8d45080169d;hpb=7b504eddc4b039f2db3a0626bd08f880c5f4de27;p=fio.git diff --git a/profiles/tiobench.c b/profiles/tiobench.c index 99c88c45..8af6f4ed 100644 --- a/profiles/tiobench.c +++ b/profiles/tiobench.c @@ -1,6 +1,7 @@ #include "../fio.h" #include "../profile.h" #include "../parse.h" +#include "../optgroup.h" static unsigned long long size; static unsigned int loops = 1; @@ -8,7 +9,7 @@ static unsigned int bs = 4096; static unsigned int nthreads = 1; static char *dir; -char sz_idx[80], bs_idx[80], loop_idx[80], dir_idx[80], t_idx[80]; +static char sz_idx[80], bs_idx[80], loop_idx[80], dir_idx[80], t_idx[80]; static const char *tb_opts[] = { "buffered=0", sz_idx, bs_idx, loop_idx, dir_idx, t_idx, @@ -113,7 +114,6 @@ static int tb_prep_cmdline(void) static struct profile_ops tiobench_profile = { .name = "tiobench", .desc = "tiotest/tiobench benchmark", - .options = options, .prep_cmd = tb_prep_cmdline, .cmdline = tb_opts, .options = options,