Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio
[fio.git] / os / os.h
diff --git a/os/os.h b/os/os.h
index 104f4a81a7f06a147a3c07732707aaa30258ee40..660dcc5202dc948e430224bdc33591dda9591dbf 100644 (file)
--- a/os/os.h
+++ b/os/os.h
 #endif
 
 #ifndef FIO_HAVE_RAWBIND
-#define fio_lookup_raw(dev, majdev, mindev)
+#define fio_lookup_raw(dev, majdev, mindev)    1
+#endif
+
+#ifndef FIO_HAVE_BLKTRACE
+static inline int is_blktrace(const char *fname)
+{
+       return 0;
+}
+static inline int load_blktrace(struct thread_data *td, const char *fname)
+{
+       return 1;
+}
 #endif
 
 #endif