X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.h;h=fc363682f60cbad27b768355f947270fb0e16d8f;hp=cd348862ba3e3c0cce0eacebca9b61c573e98c3b;hb=b74b8208826be02d93d0933eb24ad792f4e78f64;hpb=0ed766f6299b2a2edf7dce4b1bf8ecb95963ae7b diff --git a/options.h b/options.h index cd348862..fc363682 100644 --- a/options.h +++ b/options.h @@ -18,6 +18,8 @@ void del_opt_posval(const char *, const char *); struct thread_data; void fio_options_free(struct thread_data *); +extern struct fio_option fio_options[FIO_MAX_OPTS]; + static inline int o_match(struct fio_option *o, const char *opt) { if (!strcmp(o->name, opt)) @@ -91,6 +93,8 @@ enum opt_category_group { __FIO_OPT_G_E4DEFRAG, __FIO_OPT_G_NETIO, __FIO_OPT_G_LIBAIO, + __FIO_OPT_G_ACT, + __FIO_OPT_G_LATPROF, __FIO_OPT_G_NR, FIO_OPT_G_RATE = (1U << __FIO_OPT_G_RATE), @@ -118,7 +122,14 @@ enum opt_category_group { FIO_OPT_G_E4DEFRAG = (1U << __FIO_OPT_G_E4DEFRAG), FIO_OPT_G_NETIO = (1U << __FIO_OPT_G_NETIO), FIO_OPT_G_LIBAIO = (1U << __FIO_OPT_G_LIBAIO), + FIO_OPT_G_ACT = (1U << __FIO_OPT_G_ACT), + FIO_OPT_G_LATPROF = (1U << __FIO_OPT_G_LATPROF), FIO_OPT_G_INVALID = (1U << __FIO_OPT_G_NR), }; +extern struct opt_group *opt_group_from_mask(unsigned int *mask); +extern struct opt_group *opt_group_cat_from_mask(unsigned int *mask); +extern struct fio_option *fio_option_find(const char *name); +extern unsigned int fio_get_kb_base(void *); + #endif