blktrace: add support for non-native endian format
[fio.git] / os / os.h
diff --git a/os/os.h b/os/os.h
index 715f2260a3f6992b13e2e6f164511b7a08e54e82..4b5903471bf8a421c0571d3d8a2de4461d74b417 100644 (file)
--- a/os/os.h
+++ b/os/os.h
@@ -220,12 +220,13 @@ static inline uint64_t fio_swap64(uint64_t val)
 })
 
 #ifndef FIO_HAVE_BLKTRACE
-static inline int is_blktrace(const char *fname)
+static inline int is_blktrace(const char *fname, int *need_swap)
 {
        return 0;
 }
 struct thread_data;
-static inline int load_blktrace(struct thread_data *td, const char *fname)
+static inline int load_blktrace(struct thread_data *td, const char *fname,
+                               int need_swap)
 {
        return 1;
 }