client: switch to per-client buffer
[fio.git] / blktrace.h
index 8656a957d27feac47710a40ce2c25298155de6f5..096993eda81fbc68ad49dfb704c21c0e35de2653 100644 (file)
@@ -3,20 +3,20 @@
 
 #ifdef FIO_HAVE_BLKTRACE
 
-int is_blktrace(const char *, int *);
-int load_blktrace(struct thread_data *, const char *, int);
+bool is_blktrace(const char *, int *);
+bool load_blktrace(struct thread_data *, const char *, int);
 
 #else
 
-static inline int is_blktrace(const char *fname, int *need_swap)
+static inline bool is_blktrace(const char *fname, int *need_swap)
 {
-       return 0;
+       return false;
 }
 
-static inline int load_blktrace(struct thread_data *td, const char *fname,
-                               int need_swap)
+static inline bool load_blktrace(struct thread_data *td, const char *fname,
+                                int need_swap)
 {
-       return 1;
+       return false;
 }
 
 #endif