blktrace: ensure that dev loop doesn't truncate name
[fio.git] / iolog.c
diff --git a/iolog.c b/iolog.c
index 2e8da139566c98320bb0d638445eec9a25ea363e..01b82e8dc16b47cab2feef017d7bd60e6b7d49ef 100644 (file)
--- 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);
 
@@ -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;