30 extern unsigned int fio_debug_jobno, *fio_debug_jobp, *fio_warned;
32 static inline bool fio_did_warn(unsigned int mask)
34 if (!(*fio_warned & mask)) {
43 FIO_WARN_ROOT_FLUSH = 1,
44 FIO_WARN_VERIFY_BUF = 2,
54 extern 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, ...)