xfs
[Top] [All Lists]

TAKE 967353 - cleanup function name handling for debug code

To: sgi.bugs.xfs@xxxxxxxxxxxx
Subject: TAKE 967353 - cleanup function name handling for debug code
From: dgc@xxxxxxx (David Chinner)
Date: Mon, 9 Jul 2007 15:44:02 +1000 (EST)
Cc: xfs@xxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
Clean up function name handling in tracing code

Remove the hardcoded "fnames" for tracing, and just embed
them in tracing macros via __FUNCTION__.  Kills a lot of #ifdefs
too.

Signed-Off-By: Eric Sandeen <sandeen@xxxxxxxxxxx>


Date:  Mon Jul  9 15:43:22 AEST 2007
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  sandeen@xxxxxxxxxxx

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:29099a
fs/xfs/xfs_bmap_btree.c - 1.161 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap_btree.c.diff?r1=text&tr1=1.161&r2=text&tr2=1.160&f=h
        - Use __FUNCTION__ rather than hardcoded fnames for tracing.

fs/xfs/xfs_inode.c - 1.467 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_inode.c.diff?r1=text&tr1=1.467&r2=text&tr2=1.466&f=h
        - Use __FUNCTION__ rather than hardcoded fnames for tracing.

fs/xfs/xfs_alloc.c - 1.187 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_alloc.c.diff?r1=text&tr1=1.187&r2=text&tr2=1.186&f=h
        - Use __FUNCTION__ rather than hardcoded fnames for tracing.

fs/xfs/xfs_bmap.h - 1.99 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap.h.diff?r1=text&tr1=1.99&r2=text&tr2=1.98&f=h
        - Use __FUNCTION__ rather than hardcoded fnames for tracing.

fs/xfs/xfs_bmap.c - 1.372 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap.c.diff?r1=text&tr1=1.372&r2=text&tr2=1.371&f=h
        - Use __FUNCTION__ rather than hardcoded fnames for tracing.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 967353 - cleanup function name handling for debug code, David Chinner <=