[PATCH] xfs: convert more trace events to DEFINE_EVENT

Steven Rostedt rostedt at goodmis.org
Mon May 24 22:36:54 CDT 2010


On Mon, 2010-05-24 at 16:25 +0800, Li Zefan wrote:
> Use DECLARE_EVENT_CLASS, and save ~15K:
> 
>    text    data     bss     dec     hex filename
>  171949   43028      48  215025   347f1 fs/xfs/linux-2.6/xfs_trace.o.orig
>  156521   43028      36  199585   30ba1 fs/xfs/linux-2.6/xfs_trace.o
> 
> No change in functionality.
> 

Acked-by: Steven Rostedt <rostedt at goodmis.org>

-- Steve

> Signed-off-by: Li Zefan <lizf at cn.fujitsu.com>
> ---
>  fs/xfs/linux-2.6/xfs_trace.h |  356 ++++++++++++++++++++++--------------------
>  1 files changed, 188 insertions(+), 168 deletions(-)
> 





More information about the xfs mailing list