xfs
[Top] [All Lists]

Re: [PATCH] xfs: convert more trace events to DEFINE_EVENT

To: Li Zefan <lizf@xxxxxxxxxxxxxx>
Subject: Re: [PATCH] xfs: convert more trace events to DEFINE_EVENT
From: Steven Rostedt <rostedt@xxxxxxxxxxx>
Date: Mon, 24 May 2010 23:36:54 -0400
Cc: Dave Chinner <dchinner@xxxxxxxxxx>, Alex Elder <aelder@xxxxxxx>, Christoph Hellwig <hch@xxxxxx>, xfs@xxxxxxxxxxx, LKML <linux-kernel@xxxxxxxxxxxxxxx>, Frederic Weisbecker <fweisbec@xxxxxxxxx>
In-reply-to: <4BFA3815.7070000@xxxxxxxxxxxxxx>
Organization: Kihon Technologies Inc.
References: <4BFA3815.7070000@xxxxxxxxxxxxxx>
Reply-to: rostedt@xxxxxxxxxxx
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@xxxxxxxxxxx>

-- Steve

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


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