summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
97af62c)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
+#ifdef FIO_HAVE_BLKTRACE
extern int is_blktrace(const char *);
extern int load_blktrace(struct thread_data *, const char *);
extern int is_blktrace(const char *);
extern int load_blktrace(struct thread_data *, const char *);
/*
* If logging output to a file, stderr should go to both stderr and f_err
/*
* If logging output to a file, stderr should go to both stderr and f_err
#define FIO_HAVE_ODIRECT
#define FIO_HAVE_HUGETLB
#define FIO_HAVE_RAWBIND
#define FIO_HAVE_ODIRECT
#define FIO_HAVE_HUGETLB
#define FIO_HAVE_RAWBIND
+#define FIO_HAVE_BLKTRACE
#define OS_MAP_ANON (MAP_ANONYMOUS)
#define OS_MAP_ANON (MAP_ANONYMOUS)
#define fio_lookup_raw(dev, majdev, mindev) 1
#endif
#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
+