commit | 5e62c22a669c7a8c03b7871852cf85ad6d355980 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue May 22 13:27:30 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue May 22 13:27:30 2007 +0200 |
tree | 8979138de420ff77180abf513f971878eee698b7 | |
parent | 97af62cec418cd722fb43c6010d6430534e12353 [diff] [blame] |
Fix build/compile for non-blktrace platforms Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/os/os.h b/os/os.h index e630627..660dcc5 100644 --- a/os/os.h +++ b/os/os.h
@@ -60,4 +60,15 @@ #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