summaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-03-19 16:41:52 +0100
committerJens Axboe <jens.axboe@oracle.com>2010-03-19 16:41:52 +0100
commitbf84eacbfc91a952eb5b781ad2955109c862d41e (patch)
treebf35d7dedeef861e3fa984403c2a45497c58d2c0 /log.h
parent1dec3e0787755c412b326619d63a24c58e7f4a6b (diff)
downloadfio-bf84eacbfc91a952eb5b781ad2955109c862d41e.tar.gz
fio-bf84eacbfc91a952eb5b781ad2955109c862d41e.tar.bz2
Make the dprint() processing out-of-line
Instead of having the big macro inlined everywhere, only inline the mask check and put the rest out-of-line. This reduces the size of fio with 4% here, and speeds it up. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'log.h')
-rw-r--r--log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/log.h b/log.h
index 12c9a552..5ca37b39 100644
--- a/log.h
+++ b/log.h
@@ -1,6 +1,8 @@
#ifndef FIO_LOG_H
#define FIO_LOG_H
+#include <stdio.h>
+
extern FILE *f_out;
extern FILE *f_err;