diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-10-30 01:55:13 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@sgi.com> | 2008-10-30 01:55:13 -0400 |
commit | 8c4ed633e65d0bd0a25d45aad9b4646e3236cad7 (patch) | |
tree | 36877f1d34c0dbd20cfd0315112d62dbf4571b80 /fs/xfs/xfs_bmap_btree.h | |
parent | 854929f05831d3a290a802815ee955b96c740c61 (diff) |
[XFS] make btree tracing generic
Make the existing bmap btree tracing generic so that it applies to all
btree types.
Some fragments lifted from a patch by Dave Chinner.
SGI-PV: 985583
SGI-Modid: xfs-linux-melb:xfs-kern:32187a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Bill O'Donnell <billodo@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_bmap_btree.h')
-rw-r--r-- | fs/xfs/xfs_bmap_btree.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/fs/xfs/xfs_bmap_btree.h b/fs/xfs/xfs_bmap_btree.h index 4f12fff54975..5628d89cea45 100644 --- a/fs/xfs/xfs_bmap_btree.h +++ b/fs/xfs/xfs_bmap_btree.h | |||
@@ -233,24 +233,6 @@ typedef struct xfs_btree_lblock xfs_bmbt_block_t; | |||
233 | 233 | ||
234 | #ifdef __KERNEL__ | 234 | #ifdef __KERNEL__ |
235 | 235 | ||
236 | #if defined(XFS_BMBT_TRACE) | ||
237 | /* | ||
238 | * Trace buffer entry types. | ||
239 | */ | ||
240 | #define XFS_BMBT_KTRACE_ARGBI 1 | ||
241 | #define XFS_BMBT_KTRACE_ARGBII 2 | ||
242 | #define XFS_BMBT_KTRACE_ARGFFFI 3 | ||
243 | #define XFS_BMBT_KTRACE_ARGI 4 | ||
244 | #define XFS_BMBT_KTRACE_ARGIFK 5 | ||
245 | #define XFS_BMBT_KTRACE_ARGIFR 6 | ||
246 | #define XFS_BMBT_KTRACE_ARGIK 7 | ||
247 | #define XFS_BMBT_KTRACE_CUR 8 | ||
248 | |||
249 | #define XFS_BMBT_TRACE_SIZE 4096 /* size of global trace buffer */ | ||
250 | #define XFS_BMBT_KTRACE_SIZE 32 /* size of per-inode trace buffer */ | ||
251 | extern ktrace_t *xfs_bmbt_trace_buf; | ||
252 | #endif | ||
253 | |||
254 | /* | 236 | /* |
255 | * Prototypes for xfs_bmap.c to call. | 237 | * Prototypes for xfs_bmap.c to call. |
256 | */ | 238 | */ |