21 extern unsigned int fio_debug_jobno, *fio_debug_jobp;
29 extern struct debug_level debug_levels[];
31 extern unsigned long fio_debug;
33 #define dprint(type, str, args...) \
35 pid_t pid = getpid(); \
36 assert(type < FD_DEBUG_MAX); \
37 if ((((1 << type)) & fio_debug) == 0) \
39 if (fio_debug_jobp && *fio_debug_jobp != -1U \
40 && pid != *fio_debug_jobp) \
42 log_info("%-8s ", debug_levels[(type)].name); \
43 log_info("%-5u ", (int) pid); \
44 log_info(str, ##args); \
49 #define dprint(type, str, args...)