mtd/fs/jffs2 debug.h,1.6,1.7
Artem Bityuckiy
dedekind at infradead.org
Wed Jul 27 09:06:59 EDT 2005
- Previous message: mtd/fs/jffs2 compr.c, 1.44, 1.45 compr.h, 1.7, 1.8 compr_lzari.c,
1.3, NONE compr_lzo.c, 1.3, NONE
- Next message: mtd/fs/jffs2 malloc.c,1.28,1.29
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv21744
Modified Files:
debug.h
Log Message:
[JFFS2] refine the debugging stuff, add memeory allocation debugging stuff.
Index: debug.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/debug.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- debug.h 24 Jul 2005 15:18:26 -0000 1.6
+++ debug.h 27 Jul 2005 13:06:56 -0000 1.7
@@ -16,7 +16,7 @@
#include <linux/config.h>
#ifndef CONFIG_JFFS2_FS_DEBUG
-#define CONFIG_JFFS2_FS_DEBUG 1
+#define CONFIG_JFFS2_FS_DEBUG 0
#endif
#if CONFIG_JFFS2_FS_DEBUG == 1
@@ -119,20 +119,28 @@
#define JFFS2_DBG_FRAGTREE2(fmt, ...)
#endif
-/* Plays with node_refs */
+/* Print the messages about manipulating node_refs */
#ifdef JFFS2_DBG_NODEREF_MESSAGES
#define JFFS2_DBG_NODEREF(fmt, ...) JFFS2_DEBUG(fmt, ##__VA_ARGS__)
#else
#define JFFS2_DBG_NODEREF(fmt, ...)
#endif
-/* Plays with the list of inodes (JFFS2 inocache) */
+/* Manipulations with the list of inodes (JFFS2 inocache) */
#ifdef JFFS2_DBG_INOCACHE_MESSAGES
#define JFFS2_DBG_INOCACHE(fmt, ...) JFFS2_DEBUG(fmt, ##__VA_ARGS__)
#else
#define JFFS2_DBG_INOCACHE(fmt, ...)
#endif
+/* Watch the object allocations */
+#ifdef JFFS2_DBG_MEMALLOC_MESSAGES
+#define JFFS2_DBG_MEMALLOC(fmt, ...) JFFS2_DEBUG(fmt, ##__VA_ARGS__)
+#else
+#define JFFS2_DBG_MEMALLOC(fmt, ...)
+#endif
+
+
/* "Paranoia" checks */
void
__jffs2_dbg_fragtree_paranoia_check(struct jffs2_inode_info *f);
- Previous message: mtd/fs/jffs2 compr.c, 1.44, 1.45 compr.h, 1.7, 1.8 compr_lzari.c,
1.3, NONE compr_lzo.c, 1.3, NONE
- Next message: mtd/fs/jffs2 malloc.c,1.28,1.29
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list