tracing: Convert more ext4 events to DEFINE_EVENT
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 17 May 2010 08:00:00 +0000 (04:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 17 May 2010 08:00:00 +0000 (04:00 -0400)
commitf084db932e6fe877bf8362bc256fc850de196deb
treeb09c667b5ba96751c1d7638f633cdd5e292221a7
parentf307333e14f6b18045eb4198fe646d9b6028f3ed
tracing: Convert more ext4 events to DEFINE_EVENT

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@cn.fujitsu.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
include/trace/events/ext4.h