28 extern unsigned int fio_debug_jobno, *fio_debug_jobp, *fio_warned;
30 static inline bool fio_did_warn(unsigned int mask)
32 if (*fio_warned & mask)
40 FIO_WARN_ROOT_FLUSH = 1,
41 FIO_WARN_VERIFY_BUF = 2,
42 FIO_WARN_ZONED_BUG = 4,
43 FIO_WARN_IOLOG_DROP = 8,
44 FIO_WARN_FADVISE = 16,
54 extern const struct debug_level debug_levels[];
56 extern unsigned long fio_debug;
58 void __dprint(int type, const char *str, ...) __attribute__((format (printf, 2, 3)));
60 #define dprint(type, str, args...) \
62 if (((1 << type) & fio_debug) == 0) \
64 __dprint((type), (str), ##args); \
69 static inline void dprint(int type, const char *str, ...)