X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=os%2Fos.h;h=660dcc5202dc948e430224bdc33591dda9591dbf;hp=e630627fddea38f4bfbb4608fe00af1f0f2142ea;hb=5e62c22a669c7a8c03b7871852cf85ad6d355980;hpb=97af62cec418cd722fb43c6010d6430534e12353 diff --git a/os/os.h b/os/os.h index e630627f..660dcc52 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