Add profile td init/exit with stored data
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 751fc3d18ecc8d59c1de03fac09501de6c8c53ef..f00f64a9dc4297217e870eae87b27b5980151719 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -30,6 +30,7 @@
 #include "iolog.h"
 #include "helpers.h"
 #include "options.h"
 #include "iolog.h"
 #include "helpers.h"
 #include "options.h"
+#include "profile.h"
 
 #ifdef FIO_HAVE_GUASI
 #include <guasi.h>
 
 #ifdef FIO_HAVE_GUASI
 #include <guasi.h>
@@ -430,8 +431,8 @@ struct thread_data {
        /*
         * Can be overloaded by profiles
         */
        /*
         * Can be overloaded by profiles
         */
-       int (*fill_io_u_off)(struct thread_data *, struct io_u *);
-       int (*fill_io_u_size)(struct thread_data *, struct io_u *);
+       struct prof_io_ops prof_io_ops;
+       void *prof_data;
 };
 
 /*
 };
 
 /*