tracing: Convert some timer events to DEFINE_EVENT
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 24 May 2010 08:23:15 +0000 (16:23 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 28 Jun 2010 21:12:48 +0000 (17:12 -0400)
commit363d0f6490f319d0dd69b7ec7503c5f6cbab36d9
tree296c3759da30cedc9d05ef129dfa6c21538ed36b
parent8728fe501ed562c1b46dde3c195eadec77bca033
tracing: Convert some timer events to DEFINE_EVENT

Use DECLARE_EVENT_CLASS, and save ~2.3K:

   text    data     bss     dec     hex filename
7018823 2031888 7251132 16301843         f8bf13 vmlinux.o.orig
7016727 2031696 7251132 16299555         f8b623 vmlinux.o

5 events are converted:

  timer_class:   timer_init, timer_expire_exit, timer_cancel
  hrtimer_class: hrtimer_init, hrtimer_cancel

No change in functionality.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4BFA3773.3060200@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/trace/events/timer.h