aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_trace.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-06-23 21:50:22 -0400
committerAlex Elder <aelder@sgi.com>2010-07-26 14:16:43 -0400
commitd2e078c33c24f97411b0fdd7cd2173e68125e7e3 (patch)
tree596dafaa5f9f6336a62350a889926184a93a3850 /fs/xfs/linux-2.6/xfs_trace.h
parent807cbbdb438d172b87b380eebc1f1c1a5a3549b2 (diff)
xfs: some iget tracing cleanups / fixes
The xfs_iget_alloc/found tracepoints are a bit misnamed and misplaced. Rename them to xfs_iget_hit/xfs_iget_miss and move them to the beggining of the xfs_iget_cache_hit/miss functions. Add a new xfs_iget_reclaim_fail tracepoint for the case where we fail to re-initialize a VFS inode, and add a second instance of the xfs_iget_skip tracepoint for the case of a failed igrab() call. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_trace.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_trace.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_trace.h b/fs/xfs/linux-2.6/xfs_trace.h
index 3f2eec28c70d..9efe368d38c7 100644
--- a/fs/xfs/linux-2.6/xfs_trace.h
+++ b/fs/xfs/linux-2.6/xfs_trace.h
@@ -561,8 +561,9 @@ DEFINE_EVENT(xfs_iget_class, name, \
561 TP_ARGS(ip)) 561 TP_ARGS(ip))
562DEFINE_IGET_EVENT(xfs_iget_skip); 562DEFINE_IGET_EVENT(xfs_iget_skip);
563DEFINE_IGET_EVENT(xfs_iget_reclaim); 563DEFINE_IGET_EVENT(xfs_iget_reclaim);
564DEFINE_IGET_EVENT(xfs_iget_found); 564DEFINE_IGET_EVENT(xfs_iget_reclaim_fail);
565DEFINE_IGET_EVENT(xfs_iget_alloc); 565DEFINE_IGET_EVENT(xfs_iget_hit);
566DEFINE_IGET_EVENT(xfs_iget_miss);
566 567
567DECLARE_EVENT_CLASS(xfs_inode_class, 568DECLARE_EVENT_CLASS(xfs_inode_class,
568 TP_PROTO(struct xfs_inode *ip, unsigned long caller_ip), 569 TP_PROTO(struct xfs_inode *ip, unsigned long caller_ip),