xfs
[Top] [All Lists]

Re: [PATCH] clean up vnode^winode tracing

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: [PATCH] clean up vnode^winode tracing
From: David Chinner <dgc@xxxxxxx>
Date: Wed, 29 Aug 2007 06:04:16 +1000
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <46D11F1B.5020409@xxxxxxxxxxx>
References: <46D11F1B.5020409@xxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Sun, Aug 26, 2007 at 01:35:07AM -0500, Eric Sandeen wrote:
> Simplify vnode tracing calls by embedding function name & return addr
> in the calling macro.
> 
> Also do a lot of vnode->inode renaming for consistency, while
> we're at it.
> 
> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
> 
> Index: linux-2.6-xfs/fs/xfs/linux-2.6/xfs_aops.c
> ===================================================================
> --- linux-2.6-xfs.orig/fs/xfs/linux-2.6/xfs_aops.c
> +++ linux-2.6-xfs/fs/xfs/linux-2.6/xfs_aops.c
> @@ -1525,8 +1525,7 @@ xfs_vm_bmap(
>       struct inode            *inode = (struct inode *)mapping->host;
>       struct xfs_inode        *ip = XFS_I(inode);
>  
> -     vn_trace_entry(XFS_I(inode), __FUNCTION__,
> -                     (inst_t *)__return_address);
> +     ip_trace_entry(XFS_I(inode));

s/ip_trace/xfs_itrace/

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


<Prev in Thread] Current Thread [Next in Thread>