projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
indenting fixes
[rrdtool.git]
/
src
/
rrd_open.c
diff --git
a/src/rrd_open.c
b/src/rrd_open.c
index
87fd766
..
4acaa8f
100644
(file)
--- a/
src/rrd_open.c
+++ b/
src/rrd_open.c
@@
-268,6
+268,7
@@
rrd_file_t *rrd_open(
}
}
+#if defined DEBUG && DEBUG > 1
/* Print list of in-core pages of a the current rrd_file. */
static
void mincore_print(
/* Print list of in-core pages of a the current rrd_file. */
static
void mincore_print(
@@
-310,6
+311,7
@@
void mincore_print(
fprintf(stderr, "sorry mincore only works with mmap");
#endif
}
fprintf(stderr, "sorry mincore only works with mmap");
#endif
}
+#endif /* defined DEBUG && DEBUG > 1 */
/* drop cache except for the header and the active pages */
/* drop cache except for the header and the active pages */