projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reduced minimum for option log_gz
[fio.git]
/
debug.h
diff --git
a/debug.h
b/debug.h
index af71d625fc10c20433cc5a53285de61c70ad02dc..923fa39958037c3d0aa549e9a6def4b3a9c09756 100644
(file)
--- a/
debug.h
+++ b/
debug.h
@@
-19,6
+19,8
@@
enum {
FD_PROFILE,
FD_TIME,
FD_NET,
FD_PROFILE,
FD_TIME,
FD_NET,
+ FD_RATE,
+ FD_COMPRESS,
FD_DEBUG_MAX,
};
FD_DEBUG_MAX,
};
@@
-27,6
+29,7
@@
extern unsigned int fio_debug_jobno, *fio_debug_jobp;
#ifdef FIO_INC_DEBUG
struct debug_level {
const char *name;
#ifdef FIO_INC_DEBUG
struct debug_level {
const char *name;
+ const char *help;
unsigned long shift;
unsigned int jobno;
};
unsigned long shift;
unsigned int jobno;
};
@@
-34,7
+37,7
@@
extern struct debug_level debug_levels[];
extern unsigned long fio_debug;
extern unsigned long fio_debug;
-void __dprint(int type, const char *str, ...);
+void __dprint(int type, const char *str, ...)
__attribute__((format (printf, 2, 3)))
;
#define dprint(type, str, args...) \
do { \
#define dprint(type, str, args...) \
do { \