diff options
author | Christoph Hellwig <hch@infradead.org> | 2009-12-21 14:03:03 +0000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-01-10 12:21:56 -0600 |
commit | ea9a48881e093a41a79305fb1545ca0794b203dc (patch) | |
tree | b17a7fec50d6a1552190235470a24be2078c95ca /fs/xfs/xfs_vnodeops.c | |
parent | 3c8ad49b015eb115fbd6982f56d530f53cf57f84 (diff) |
xfs: use DECLARE_EVENT_CLASS
Using DECLARE_EVENT_CLASS allows us to to use trace event code
instead of duplicating it in the binary. This was not available
before 2.6.33 so it had to be done as a separate step once the
prerequisite was merged.
This only requires changes to xfs_trace.h and the results are
rather impressive:
hch@brick:~/work/linux-2.6/obj-kvm$ size fs/xfs/xfs.o*
text data bss dec hex filename
607732 41884 3616 653232 9f7b0 fs/xfs/xfs.o
1026732 41884 3808 1072424 105d28 fs/xfs/xfs.o.old
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
0 files changed, 0 insertions, 0 deletions