diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-11-26 15:05:38 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-26 09:14:03 +0100 |
commit | 7703466b4c0a21b88d701882bef0d45bcb0a0281 (patch) | |
tree | b2d8b0ae1d0af754adf55fe5190104d3708ffdf5 /drivers/scsi/scsi_tgt_lib.c | |
parent | 382ece710bf88b08440b598731361e5a47582b62 (diff) |
tracing: Convert some power events to DEFINE_EVENT
Use DECLARE_EVENT_CLASS to remove duplicate code:
text data bss dec hex filename
4312 524 12 4848 12f0 kernel/trace/power-traces.o.old
3455 524 8 3987 f93 kernel/trace/power-traces.o
Two events are converted:
power: power_start, power_frequency
No change in functionality.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arjan van de Ven <arjan@infradead.org>
LKML-Reference: <4B0E28C2.1090906@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/scsi/scsi_tgt_lib.c')
0 files changed, 0 insertions, 0 deletions