Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
FD_DEBUG_MAX,
};
+extern unsigned int fio_debug_jobno, *fio_debug_jobp;
+
#ifdef FIO_INC_DEBUG
struct debug_level {
const char *name;
extern struct debug_level debug_levels[];
extern unsigned long fio_debug;
-extern unsigned int fio_debug_jobno, *fio_debug_jobp;
#define dprint(type, str, args...) \
do { \
return 0;
}
#else
-static void set_debug(const char *string)
+static int set_debug(const char *string)
{
log_err("fio: debug tracing not included in build\n");
return 1;