X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=blktrace.h;h=a0e82faa05eed81bb3e8819a200208089a6009d7;hp=1b2bb76bbcd37a3ec24e59475390c999ba0666a7;hb=2401022342f650ac7d845a14c7b9bf1cd87cead6;hpb=b9921d1a56d9a6576dcf6c276b380a2a29a112be diff --git a/blktrace.h b/blktrace.h index 1b2bb76b..a0e82faa 100644 --- a/blktrace.h +++ b/blktrace.h @@ -4,13 +4,19 @@ #ifdef FIO_HAVE_BLKTRACE +#include + #include "blktrace_api.h" struct blktrace_cursor { struct fifo *fifo; // fifo queue for reading int fd; // blktrace file + __u64 length; // length of trace struct blk_io_trace t; // current io trace int swap; // bitwise reverse required + int scalar; // scale percentage + int iter; // current iteration + int nr_iter; // number of iterations to run }; bool is_blktrace(const char *, int *); @@ -30,5 +36,10 @@ static inline bool load_blktrace(struct thread_data *td, const char *fname, return false; } +static inline int merge_blktrace_iologs(struct thread_data *td) +{ + return false; +} + #endif #endif