X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fxfs%2Fxfs.h;h=b5a7d92c68438a7d7e6b1d5e38b33a833bb0dd7b;hb=8f41958bdd577731f7411c9605cfaa9db6766809;hp=1a48dbb902a7bf214c1114dea3c0dfd5711fda83;hpb=b8cbfa692485bf7568eda3d2f37545a76efb7c93;p=linux-2.6-omap-h63xx.git diff --git a/fs/xfs/xfs.h b/fs/xfs/xfs.h index 1a48dbb902a..b5a7d92c684 100644 --- a/fs/xfs/xfs.h +++ b/fs/xfs/xfs.h @@ -17,5 +17,29 @@ */ #ifndef __XFS_H__ #define __XFS_H__ + +#ifdef CONFIG_XFS_DEBUG +#define STATIC +#define DEBUG 1 +#define XFS_BUF_LOCK_TRACKING 1 +/* #define QUOTADEBUG 1 */ +#endif + +#ifdef CONFIG_XFS_TRACE +#define XFS_ALLOC_TRACE 1 +#define XFS_ATTR_TRACE 1 +#define XFS_BLI_TRACE 1 +#define XFS_BMAP_TRACE 1 +#define XFS_BMBT_TRACE 1 +#define XFS_DIR2_TRACE 1 +#define XFS_DQUOT_TRACE 1 +#define XFS_ILOCK_TRACE 1 +#define XFS_LOG_TRACE 1 +#define XFS_RW_TRACE 1 +#define XFS_BUF_TRACE 1 +#define XFS_VNODE_TRACE 1 +#define XFS_FILESTREAMS_TRACE 1 +#endif + #include #endif /* __XFS_H__ */