diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-05-22 13:27:30 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-05-22 13:27:30 +0200 |
commit | 5e62c22a669c7a8c03b7871852cf85ad6d355980 (patch) | |
tree | 8979138de420ff77180abf513f971878eee698b7 /os/os.h | |
parent | 97af62cec418cd722fb43c6010d6430534e12353 (diff) | |
download | fio-5e62c22a669c7a8c03b7871852cf85ad6d355980.tar.gz fio-5e62c22a669c7a8c03b7871852cf85ad6d355980.tar.bz2 |
Fix build/compile for non-blktrace platforms
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'os/os.h')
-rw-r--r-- | os/os.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |