simplify vnode tracing calls
PATCH 1/1 simplify vnode tracing calls
Don't think I've sent this one yet... :)
linux-2.4/xfs_aops.c | 2 +- linux-2.4/xfs_ioctl.c | 2 +- linux-2.4/xfs_super.c | 6 +++--- linux-2.4/xfs_vnode.c | 4 ++-- linux-2.4/xfs_vnode.h | 11 ++++++----- linux-2.6/xfs_aops.c | 2 +- linux-2.6/xfs_ioctl.c | 2 +- linux-2.6/xfs_super.c | 6 +++--- linux-2.6/xfs_vnode.c | 4 ++-- linux-2.6/xfs_vnode.h | 11 ++++++----- xfs_iget.c | 4 ++-- xfs_rename.c | 4 ++-- xfs_utils.c | 2 +- xfs_vnodeops.c | 48 ++++++++++++++++++++++-------------------------- 14 files changed, 53 insertions(+), 55 deletions(-)
Simplify vnode tracing calls by embedding function name & return addr in the calling macro.
fs/xfs/linux-2.4/xfs_aops.c +1 -1
@@ -964,7 +964,7 @@ xfs_vm_bmap(struct inode *inode = (struct inode *)mapping->host;bhv_vnode_t *vp =vn_from_inode (inode); -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +VN_TRACE_ENTRY (vp);bhv_vop_rwlock (vp,VRWLOCK_READ );bhv_vop_flush_pages (vp, (xfs_off_t )0 ,-1 ,0 ,FI_REMAPF );
fs/xfs/linux-2.4/xfs_ioctl.c +1 -1
@@ -702,7 +702,7 @@ xfs_ioctl( vp =vn_from_inode (inode); -vn_trace_entry (vp,"xfs_ioctl" , (inst_t *)__return_address); +VN_TRACE_ENTRY (vp); ip =XFS_BHVTOI (bdp); mp = ip->i_mount;
fs/xfs/linux-2.4/xfs_super.c +3 -3
@@ -374,7 +374,7 @@ xfs_fs_write_inode(int error, flags =FLUSH_INODE ;if (vp) { -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +VN_TRACE_ENTRY (vp);if (sync) flags |=FLUSH_SYNC ; error =bhv_vop_iflush (vp, flags);
@@ -389,7 +389,7 @@ xfs_fs_clear_inode( {bhv_vnode_t *vp =vn_from_inode (inode); -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +VN_TRACE_ENTRY (vp);XFS_STATS_INC (vn_rele);XFS_STATS_INC (vn_remove);
@@ -948,7 +948,7 @@ xfs_fs_read_super( goto fail_vnrele;if (xfs_fs_start_syncd (vfsp)) goto fail_vnrele; -vn_trace_exit (rootvp, __FUNCTION__, (inst_t *)__return_address); +VN_TRACE_EXIT (rootvp);kmem_free (args,sizeof (*args));return sb;
fs/xfs/linux-2.4/xfs_vnode.c +2 -2
@@ -65,7 +65,7 @@ vn_initialize( vp->v_trace =ktrace_alloc (VNODE_TRACE_SIZE ,KM_SLEEP );#endif /* XFS_VNODE_TRACE */ -vn_trace_exit (vp,"vn_initialize" , (inst_t *)__return_address); +VN_TRACE_EXIT (vp);return vp; }
@@ -118,7 +118,7 @@ vn_revalidate(bhv_vattr_t va;int error; -vn_trace_entry (vp,"vn_revalidate" , (inst_t *)__return_address); +VN_TRACE_ENTRY (vp);ASSERT (VNHEAD (vp) !=NULL ); va.va_mask =XFS_AT_STAT |XFS_AT_XFLAGS ;
fs/xfs/linux-2.4/xfs_vnode.h +6 -5
@@ -572,15 +572,16 @@ extern void vn_trace_hold(struct bhv_vnoextern void vn_trace_ref (struct bhv_vnode *,char *,int ,inst_t *);extern void vn_trace_rele (struct bhv_vnode *,char *,int ,inst_t *); -#define VN_TRACE (vp) \ - vn_trace_ref(vp, __FILE__, __LINE__, (inst_t *)__return_address) +#define VN_TRACE_ENTRY (vp) \ + vn_trace_entry(vp, __FUNCTION__, (inst_t *)__return_address) +#define VN_TRACE_EXIT (vp) \ + vn_trace_exit(vp, __FUNCTION__, (inst_t *)__return_address)#else -#define vn_trace_entry (a,b,c) -#define vn_trace_exit (a,b,c) +#define VN_TRACE_ENTRY (a) +#define VN_TRACE_EXIT (a)#define vn_trace_hold (a,b,c,d)#define vn_trace_ref (a,b,c,d)#define vn_trace_rele (a,b,c,d) -#define VN_TRACE (vp)#endif #endif /* __XFS_VNODE_H__ */
fs/xfs/linux-2.6/xfs_aops.c +1 -1
@@ -1529,7 +1529,7 @@ xfs_vm_bmap(struct inode *inode = (struct inode *)mapping->host;bhv_vnode_t *vp =vn_from_inode (inode); -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +VN_TRACE_ENTRY (vp);bhv_vop_rwlock (vp,VRWLOCK_READ );bhv_vop_flush_pages (vp, (xfs_off_t )0 ,-1 ,0 ,FI_REMAPF );bhv_vop_rwunlock (vp,VRWLOCK_READ );
fs/xfs/linux-2.6/xfs_ioctl.c +1 -1
@@ -708,7 +708,7 @@ xfs_ioctl( vp =vn_from_inode (inode); -vn_trace_entry (vp,"xfs_ioctl" , (inst_t *)__return_address); +VN_TRACE_ENTRY (vp); ip =XFS_BHVTOI (bdp); mp = ip->i_mount;
fs/xfs/linux-2.6/xfs_super.c +3 -3
@@ -415,7 +415,7 @@ xfs_fs_write_inode(int error =0 , flags =FLUSH_INODE ;if (vp) { -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +VN_TRACE_ENTRY (vp);if (sync) flags |=FLUSH_SYNC ; error =bhv_vop_iflush (vp, flags);
@@ -431,7 +431,7 @@ xfs_fs_clear_inode( {bhv_vnode_t *vp =vn_from_inode (inode); -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +VN_TRACE_ENTRY (vp);XFS_STATS_INC (vn_rele);XFS_STATS_INC (vn_remove);
@@ -844,7 +844,7 @@ xfs_fs_fill_super( }if ((error =xfs_fs_start_syncd (vfsp))) goto fail_vnrele; -vn_trace_exit (rootvp, __FUNCTION__, (inst_t *)__return_address); +VN_TRACE_EXIT (rootvp);kmem_free (args,sizeof (*args));return 0 ;
fs/xfs/linux-2.6/xfs_vnode.c +2 -2
@@ -99,7 +99,7 @@ vn_initialize( vp->v_trace =ktrace_alloc (VNODE_TRACE_SIZE ,KM_SLEEP );#endif /* XFS_VNODE_TRACE */ -vn_trace_exit (vp, __FUNCTION__, (inst_t *)__return_address); +VN_TRACE_EXIT (vp);return vp; }
@@ -150,7 +150,7 @@ __vn_revalidate( {int error; -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +VN_TRACE_ENTRY (vp); vattr->va_mask =XFS_AT_STAT |XFS_AT_XFLAGS ; error =bhv_vop_getattr (vp, vattr,0 ,NULL );if (likely (!error)) {
fs/xfs/linux-2.6/xfs_vnode.h +6 -5
@@ -587,15 +587,16 @@ extern void vn_trace_hold(struct bhv_vnoextern void vn_trace_ref (struct bhv_vnode *,char *,int ,inst_t *);extern void vn_trace_rele (struct bhv_vnode *,char *,int ,inst_t *); -#define VN_TRACE (vp) \ - vn_trace_ref(vp, __FILE__, __LINE__, (inst_t *)__return_address) +#define VN_TRACE_ENTRY (vp) \ + vn_trace_entry(vp, __FUNCTION__, (inst_t *)__return_address) +#define VN_TRACE_EXIT (vp) \ + vn_trace_exit(vp, __FUNCTION__, (inst_t *)__return_address)#else -#define vn_trace_entry (a,b,c) -#define vn_trace_exit (a,b,c) +#define VN_TRACE_ENTRY (a) +#define VN_TRACE_EXIT (a)#define vn_trace_hold (a,b,c,d)#define vn_trace_ref (a,b,c,d)#define vn_trace_rele (a,b,c,d) -#define VN_TRACE (vp)#endif #endif /* __XFS_VNODE_H__ */
fs/xfs/xfs_iget.c +2 -2
@@ -629,7 +629,7 @@ xfs_iput(xfs_inode_t *ip, {bhv_vnode_t *vp =XFS_ITOV (ip); -vn_trace_entry (vp,"xfs_iput" , (inst_t *)__return_address); +VN_TRACE_ENTRY (vp);xfs_iunlock (ip, lock_flags);VN_RELE (vp); }
@@ -644,7 +644,7 @@ xfs_iput_new(xfs_inode_t *ip,bhv_vnode_t *vp =XFS_ITOV (ip);struct inode *inode =vn_to_inode (vp); -vn_trace_entry (vp,"xfs_iput_new" , (inst_t *)__return_address); +VN_TRACE_ENTRY (vp);if ((ip->i_d.di_mode ==0 )) {ASSERT (!xfs_iflags_test (ip,XFS_IRECLAIMABLE ));
fs/xfs/xfs_rename.c +2 -2
@@ -249,8 +249,8 @@ xfs_rename(int target_namelen =VNAMELEN (target_vname); src_dir_vp =BHV_TO_VNODE (src_dir_bdp); -vn_trace_entry (src_dir_vp,"xfs_rename" , (inst_t *)__return_address); -vn_trace_entry (target_dir_vp,"xfs_rename" , (inst_t *)__return_address); +VN_TRACE_ENTRY (src_dir_vp); +VN_TRACE_ENTRY (target_dir_vp);/* * Find the XFS behavior descriptor for the target directory
fs/xfs/xfs_utils.c +1 -1
@@ -76,7 +76,7 @@ xfs_dir_lookup_int(int error; dir_vp =BHV_TO_VNODE (dir_bdp); -vn_trace_entry (dir_vp, __FUNCTION__, (inst_t *)__return_address); +VN_TRACE_ENTRY (dir_vp); dp =XFS_BHVTOI (dir_bdp);
fs/xfs/xfs_vnodeops.c +22 -26
174 lines not on this page · raw message
Quoted 1 line · Eric Sandeen
Don't think I've sent this one yet... :)
Any chance we can keep the name lower-cases despite the simplified prototype? Also it might make sense to merge the previous patch into this one.
Quoted 5 lines · Christoph Hellwig
Quoted 1 line · Eric Sandeen
Don't think I've sent this one yet... :)
Any chance we can keep the name lower-cases despite the simplified prototype?
Yeah, it is a bit of a mishmash this way isn't it. SGI guys, do you have a preference? Christoph, how would you do it, vn_trace_enter(vp) macro calling __vn_trace_enter() function?
Quoted 2 lines
Also it might make sense to merge the previous patch into this one.
*shrug* either way.
-Eric
Quoted 10 lines · Eric Sandeen
Quoted 5 lines · Christoph Hellwig
Quoted 1 line · Eric Sandeen
Don't think I've sent this one yet... :)
Any chance we can keep the name lower-cases despite the simplified prototype?
Yeah, it is a bit of a mishmash this way isn't it. SGI guys, do you have a preference? Christoph, how would you do it,
vn_trace_enter(vp)macro calling__vn_trace_enter()function?
Yeah, keep the lower case names if possible. I can't think of a simpler way of doing it, and it's not terribly ugly. I'm open to better solutions, though.....
Quoted 4 lines
Quoted 2 lines
Also it might make sense to merge the previous patch into this one.
*shrug* either way.
Keep 'em separate - that way I don't have to go and review this first one again ;)
Cheers,
Dave.
Signature · 3 lines
Dave Chinner Principal Engineer SGI Australian Software Group
Quoted 5 lines · David Chinner
Yeah, keep the lower case names if possible. I can't think of a simpler way of doing it, and it's not terribly ugly. I'm open to better solutions, though.....
Howziss.... note a couple of __vn* callers due to "special" function names wanted...
---------------
Simplify vnode tracing calls by embedding function name & return addr in the calling macro.
linux-2.4/xfs_aops.c +1 -1
@@ -964,7 +964,7 @@ xfs_vm_bmap(struct inode *inode = (struct inode *)mapping->host;bhv_vnode_t *vp =vn_from_inode (inode); -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +vn_trace_entry (vp);bhv_vop_rwlock (vp,VRWLOCK_READ );bhv_vop_flush_pages (vp, (xfs_off_t )0 ,-1 ,0 ,FI_REMAPF );
linux-2.4/xfs_ioctl.c +1 -1
@@ -702,7 +702,7 @@ xfs_ioctl( vp =vn_from_inode (inode); -vn_trace_entry (vp,"xfs_ioctl" , (inst_t *)__return_address); +vn_trace_entry (vp); ip =XFS_BHVTOI (bdp); mp = ip->i_mount;
linux-2.4/xfs_super.c +3 -3
@@ -374,7 +374,7 @@ xfs_fs_write_inode(int error, flags =FLUSH_INODE ;if (vp) { -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +vn_trace_entry (vp);if (sync) flags |=FLUSH_SYNC ; error =bhv_vop_iflush (vp, flags);
@@ -389,7 +389,7 @@ xfs_fs_clear_inode( {bhv_vnode_t *vp =vn_from_inode (inode); -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +vn_trace_entry (vp);XFS_STATS_INC (vn_rele);XFS_STATS_INC (vn_remove);
@@ -948,7 +948,7 @@ xfs_fs_read_super( goto fail_vnrele;if (xfs_fs_start_syncd (vfsp)) goto fail_vnrele; -vn_trace_exit (rootvp, __FUNCTION__, (inst_t *)__return_address); +vn_trace_exit (rootvp);kmem_free (args,sizeof (*args));return sb;
linux-2.4/xfs_vnode.c +4 -4
@@ -65,7 +65,7 @@ vn_initialize( vp->v_trace =ktrace_alloc (VNODE_TRACE_SIZE ,KM_SLEEP );#endif /* XFS_VNODE_TRACE */ -vn_trace_exit (vp,"vn_initialize" , (inst_t *)__return_address); +vn_trace_exit (vp);return vp; }
@@ -118,7 +118,7 @@ vn_revalidate(bhv_vattr_t va;int error; -vn_trace_entry (vp,"vn_revalidate" , (inst_t *)__return_address); +vn_trace_entry (vp);ASSERT (VNHEAD (vp) !=NULL ); va.va_mask =XFS_AT_STAT |XFS_AT_XFLAGS ;
@@ -168,13 +168,13 @@ vn_hold(* Vnode tracing code. */ void -vn_trace_entry (bhv_vnode_t *vp,char *func,inst_t *ra) +__vn_trace_entry (bhv_vnode_t *vp,char *func,inst_t *ra) {KTRACE_ENTER (vp,VNODE_KTRACE_ENTRY , func,0 , ra); }void -vn_trace_exit (bhv_vnode_t *vp,char *func,inst_t *ra) +__vn_trace_exit (bhv_vnode_t *vp,char *func,inst_t *ra) {KTRACE_ENTER (vp,VNODE_KTRACE_EXIT , func,0 , ra); }
linux-2.4/xfs_vnode.h +8 -7
@@ -566,21 +566,22 @@ static inline void vn_atime_to_time_t(st#define VNODE_KTRACE_REF 4#define VNODE_KTRACE_RELE 5 -extern void vn_trace_entry (struct bhv_vnode *,char *,inst_t *); -extern void vn_trace_exit (struct bhv_vnode *,char *,inst_t *); +extern void __vn_trace_entry (struct bhv_vnode *,char *,inst_t *); +extern void __vn_trace_exit (struct bhv_vnode *,char *,inst_t *);extern void vn_trace_hold (struct bhv_vnode *,char *,int ,inst_t *);extern void vn_trace_ref (struct bhv_vnode *,char *,int ,inst_t *);extern void vn_trace_rele (struct bhv_vnode *,char *,int ,inst_t *); -#define VN_TRACE (vp) \ - vn_trace_ref(vp, __FILE__, __LINE__, (inst_t *)__return_address) +#define vn_trace_entry (vp) \ + __vn_trace_entry(vp, __FUNCTION__, (inst_t *)__return_address) +#define vn_trace_exit (vp) \ + __vn_trace_exit(vp, __FUNCTION__, (inst_t *)__return_address)#else -#define vn_trace_entry (a,b,c) -#define vn_trace_exit (a,b,c) +#define vn_trace_entry (a) +#define vn_trace_exit (a)#define vn_trace_hold (a,b,c,d)#define vn_trace_ref (a,b,c,d)#define vn_trace_rele (a,b,c,d) -#define VN_TRACE (vp)#endif #endif /* __XFS_VNODE_H__ */
linux-2.6/xfs_aops.c +1 -1
@@ -1529,7 +1529,7 @@ xfs_vm_bmap(struct inode *inode = (struct inode *)mapping->host;bhv_vnode_t *vp =vn_from_inode (inode); -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +vn_trace_entry (vp);bhv_vop_rwlock (vp,VRWLOCK_READ );bhv_vop_flush_pages (vp, (xfs_off_t )0 ,-1 ,0 ,FI_REMAPF );bhv_vop_rwunlock (vp,VRWLOCK_READ );
linux-2.6/xfs_ioctl.c +1 -1
@@ -708,7 +708,7 @@ xfs_ioctl( vp =vn_from_inode (inode); -vn_trace_entry (vp,"xfs_ioctl" , (inst_t *)__return_address); +vn_trace_entry (vp); ip =XFS_BHVTOI (bdp); mp = ip->i_mount;
linux-2.6/xfs_super.c +3 -3
@@ -415,7 +415,7 @@ xfs_fs_write_inode(int error =0 , flags =FLUSH_INODE ;if (vp) { -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +vn_trace_entry (vp);if (sync) flags |=FLUSH_SYNC ; error =bhv_vop_iflush (vp, flags);
@@ -431,7 +431,7 @@ xfs_fs_clear_inode( {bhv_vnode_t *vp =vn_from_inode (inode); -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +vn_trace_entry (vp);XFS_STATS_INC (vn_rele);XFS_STATS_INC (vn_remove);
@@ -844,7 +844,7 @@ xfs_fs_fill_super( }if ((error =xfs_fs_start_syncd (vfsp))) goto fail_vnrele; -vn_trace_exit (rootvp, __FUNCTION__, (inst_t *)__return_address); +vn_trace_exit (rootvp);kmem_free (args,sizeof (*args));return 0 ;
linux-2.6/xfs_vnode.c +4 -4
@@ -99,7 +99,7 @@ vn_initialize( vp->v_trace =ktrace_alloc (VNODE_TRACE_SIZE ,KM_SLEEP );#endif /* XFS_VNODE_TRACE */ -vn_trace_exit (vp, __FUNCTION__, (inst_t *)__return_address); +vn_trace_exit (vp);return vp; }
@@ -150,7 +150,7 @@ __vn_revalidate( {int error; -vn_trace_entry (vp, __FUNCTION__, (inst_t *)__return_address); +vn_trace_entry (vp); vattr->va_mask =XFS_AT_STAT |XFS_AT_XFLAGS ; error =bhv_vop_getattr (vp, vattr,0 ,NULL );if (likely (!error)) {
@@ -207,13 +207,13 @@ vn_hold(* Vnode tracing code. */ void -vn_trace_entry (bhv_vnode_t *vp,const char *func,inst_t *ra) +__vn_trace_entry (bhv_vnode_t *vp,const char *func,inst_t *ra) {KTRACE_ENTER (vp,VNODE_KTRACE_ENTRY , func,0 , ra); }void -vn_trace_exit (bhv_vnode_t *vp,const char *func,inst_t *ra) +__vn_trace_exit (bhv_vnode_t *vp,const char *func,inst_t *ra) {KTRACE_ENTER (vp,VNODE_KTRACE_EXIT , func,0 , ra); }
linux-2.6/xfs_vnode.h +8 -7
@@ -581,21 +581,22 @@ static inline void vn_atime_to_time_t(bh#define VNODE_KTRACE_REF 4#define VNODE_KTRACE_RELE 5 -extern void vn_trace_entry (struct bhv_vnode *,const char *,inst_t *); -extern void vn_trace_exit (struct bhv_vnode *,const char *,inst_t *); +extern void __vn_trace_entry (struct bhv_vnode *,const char *,inst_t *); +extern void __vn_trace_exit (struct bhv_vnode *,const char *,inst_t *);extern void vn_trace_hold (struct bhv_vnode *,char *,int ,inst_t *);extern void vn_trace_ref (struct bhv_vnode *,char *,int ,inst_t *);extern void vn_trace_rele (struct bhv_vnode *,char *,int ,inst_t *); -#define VN_TRACE (vp) \ - vn_trace_ref(vp, __FILE__, __LINE__, (inst_t *)__return_address) +#define vn_trace_entry (vp) \ + __vn_trace_entry(vp, __FUNCTION__, (inst_t *)__return_address) +#define vn_trace_exit (vp) \ + __vn_trace_exit(vp, __FUNCTION__, (inst_t *)__return_address)#else -#define vn_trace_entry (a,b,c) -#define vn_trace_exit (a,b,c) +#define vn_trace_entry (a) +#define vn_trace_exit (a)#define vn_trace_hold (a,b,c,d)#define vn_trace_ref (a,b,c,d)#define vn_trace_rele (a,b,c,d) -#define VN_TRACE (vp)#endif #endif /* __XFS_VNODE_H__ */
xfs_iget.c +5 -5
@@ -268,7 +268,7 @@ again: goto again; } -vn_trace_exit (vp,"xfs_iget.alloc" , +__vn_trace_exit (vp,"xfs_iget.alloc" , (inst_t *)__return_address);XFS_STATS_INC (xs_ig_found);
@@ -328,7 +328,7 @@ finish_inode:xfs_ilock (ip, lock_flags);xfs_iflags_clear (ip,XFS_ISTALE ); -vn_trace_exit (vp,"xfs_iget.found" , +__vn_trace_exit (vp,"xfs_iget.found" , (inst_t *)__return_address); goto return_ip; }
@@ -353,7 +353,7 @@ finish_inode:if (error)return error; -vn_trace_exit (vp,"xfs_iget.alloc" , (inst_t *)__return_address); +__vn_trace_exit (vp,"xfs_iget.alloc" , (inst_t *)__return_address);xfs_inode_lock_init (ip, vp);xfs_iocore_inode_init (ip);
@@ -629,7 +629,7 @@ xfs_iput(xfs_inode_t *ip, {bhv_vnode_t *vp =XFS_ITOV (ip); -vn_trace_entry (vp,"xfs_iput" , (inst_t *)__return_address); +vn_trace_entry (vp);xfs_iunlock (ip, lock_flags);VN_RELE (vp); }
@@ -644,7 +644,7 @@ xfs_iput_new(xfs_inode_t *ip,bhv_vnode_t *vp =XFS_ITOV (ip);struct inode *inode =vn_to_inode (vp); -vn_trace_entry (vp,"xfs_iput_new" , (inst_t *)__return_address); +vn_trace_entry (vp);if ((ip->i_d.di_mode ==0 )) {ASSERT (!xfs_iflags_test (ip,XFS_IRECLAIMABLE ));
xfs_rename.c +2 -2
@@ -249,8 +249,8 @@ xfs_rename(int target_namelen =VNAMELEN (target_vname); src_dir_vp =BHV_TO_VNODE (src_dir_bdp); -vn_trace_entry (src_dir_vp,"xfs_rename" , (inst_t *)__return_address); -vn_trace_entry (target_dir_vp,"xfs_rename" , (inst_t *)__return_address); +vn_trace_entry (src_dir_vp); +vn_trace_entry (target_dir_vp);/* * Find the XFS behavior descriptor for the target directory
xfs_utils.c +1 -1
@@ -76,7 +76,7 @@ xfs_dir_lookup_int(int error; dir_vp =BHV_TO_VNODE (dir_bdp); -vn_trace_entry (dir_vp, __FUNCTION__, (inst_t *)__return_address); +vn_trace_entry (dir_vp); dp =XFS_BHVTOI (dir_bdp);
xfs_vnodeops.c +22 -26
174 lines not on this page · raw message
linux-2.4/xfs_ksyms.c +2 -2
@@ -82,8 +82,8 @@ EXPORT_SYMBOL(ktrace_next);#ifdef XFS_VNODE_TRACE EXPORT_SYMBOL (vn_trace_ref); -EXPORT_SYMBOL (vn_trace_entry); -EXPORT_SYMBOL (vn_trace_exit); +EXPORT_SYMBOL (__vn_trace_entry); +EXPORT_SYMBOL (__vn_trace_exit);EXPORT_SYMBOL (vn_trace_hold);EXPORT_SYMBOL (vn_trace_rele);#endif
linux-2.6/xfs_ksyms.c +2 -2
@@ -82,8 +82,8 @@ EXPORT_SYMBOL(ktrace_next);#ifdef XFS_VNODE_TRACE EXPORT_SYMBOL (vn_trace_ref); -EXPORT_SYMBOL (vn_trace_entry); -EXPORT_SYMBOL (vn_trace_exit); +EXPORT_SYMBOL (__vn_trace_entry); +EXPORT_SYMBOL (__vn_trace_exit);EXPORT_SYMBOL (vn_trace_hold);EXPORT_SYMBOL (vn_trace_rele);#endif