X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.h;h=a00e8f23000c6450b5e636868602556c0057c35d;hb=9919b27b89410c4d3910b1e0515f94bd79d67061;hp=17bc02bc59f0eba2a39aa40b5b5142407b1bc02b;hpb=50a8ce864e2c5bee7c44935b39b357aa8071615b;p=fio.git diff --git a/fio.h b/fio.h index 17bc02bc..a00e8f23 100644 --- a/fio.h +++ b/fio.h @@ -434,6 +434,7 @@ extern char *trigger_file; extern char *trigger_cmd; extern char *trigger_remote_cmd; extern long long trigger_timeout; +extern char *aux_path; extern struct thread_data *threads; @@ -667,7 +668,8 @@ extern const char *fio_get_arch_string(int); extern const char *fio_get_os_string(int); #ifdef FIO_INTERNAL -#define ARRAY_SIZE(x) (sizeof((x)) / (sizeof((x)[0]))) +#define ARRAY_SIZE(x) (sizeof((x)) / (sizeof((x)[0]))) +#define FIELD_SIZE(s, f) (sizeof(((typeof(s))0)->f)) #endif enum {