From: tytso on
On Mon, May 24, 2010 at 04:24:04PM +0800, Li Zefan wrote:
> Use DECLARE_EVENT_CLASS, and save ~2.7K:
>
> text data bss dec hex filename
> 274441 7200 260 281901 44d2d fs/ext4/ext4.o.orig
> 271881 7040 256 279177 44289 fs/ext4/ext4.o
>
> 4 events are converted:
>
> ext4__mb_new_pa: ext4_mb_new_inode_pa, ext4_mb_new_group_pa
> ext4__mballoc: ext4_mballoc_discard, ext4_mballoc_free
>
> No change in functionality.
>
> Signed-off-by: Li Zefan <lizf(a)cn.fujitsu.com>

Thanks, added to the ext4 tree.

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Steven Rostedt on
On Tue, 2010-05-25 at 10:57 -0400, tytso(a)mit.edu wrote:
> On Mon, May 24, 2010 at 04:24:04PM +0800, Li Zefan wrote:
> > Use DECLARE_EVENT_CLASS, and save ~2.7K:
> >
> > text data bss dec hex filename
> > 274441 7200 260 281901 44d2d fs/ext4/ext4.o.orig
> > 271881 7040 256 279177 44289 fs/ext4/ext4.o
> >
> > 4 events are converted:
> >
> > ext4__mb_new_pa: ext4_mb_new_inode_pa, ext4_mb_new_group_pa
> > ext4__mballoc: ext4_mballoc_discard, ext4_mballoc_free
> >
> > No change in functionality.
> >
> > Signed-off-by: Li Zefan <lizf(a)cn.fujitsu.com>
>
> Thanks, added to the ext4 tree.

You could add...

Acked-by: Steven Rostedt <rostedt(a)goodmis.org>

if you want.

-- Steve


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