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

From: Steven Rostedt
Date: Mon May 24 2010 - 23:37:01 EST


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(-)
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/