X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=iolog.c;h=01b82e8dc16b47cab2feef017d7bd60e6b7d49ef;hb=ae8e559e8a442f72cfe2751e93471aed75f5c74e;hp=93938905bebe4e7557e2d3c22abecf6cd230789c;hpb=a79f17bf3bfa20b83424c2301de092bdcfbaaea4;p=fio.git diff --git a/iolog.c b/iolog.c index 93938905..01b82e8d 100644 --- a/iolog.c +++ b/iolog.c @@ -19,6 +19,7 @@ #include "trim.h" #include "filelock.h" #include "smalloc.h" +#include "blktrace.h" static int iolog_flush(struct io_log *log); @@ -277,7 +278,7 @@ restart: overlap = 1; if (overlap) { - dprint(FD_IO, "iolog: overlap %llu/%lu, %llu/%lu", + dprint(FD_IO, "iolog: overlap %llu/%lu, %llu/%lu\n", __ipo->offset, __ipo->len, ipo->offset, ipo->len); td->io_hist_len--; @@ -422,7 +423,7 @@ static int read_iolog2(struct thread_data *td, FILE *f) continue; } } else { - log_err("bad iolog2: %s", p); + log_err("bad iolog2: %s\n", p); continue; } @@ -696,7 +697,7 @@ void free_log(struct io_log *log) sfree(log); } -inline unsigned long hist_sum(int j, int stride, unsigned int *io_u_plat, +unsigned long hist_sum(int j, int stride, unsigned int *io_u_plat, unsigned int *io_u_plat_last) { unsigned long sum;