linux/include/trace/events
Li Zefan 77ca1e0294 tracing: Convert some block events to DEFINE_EVENT
use DECLARE_EVENT_CLASS to remove duplicate code:

   text    data     bss     dec     hex filename
  53570    3284     184   57038    dece block/blk-core.o.old
  43702    3284     144   47130    b81a block/blk-core.o

12 events are converted:

  block_rq: block_rq_insert, block_rq_issue
  block_rq_with_error: block_rq_{abort, requeue, complete}
  block_bio: block_bio_{backmerge, frontmerge, queue}
  block_get_rq: block_getrq, block_sleeprq
  block_unplug: block_unplug_timer, block_unplug_io

No change in functionality.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4B0E28E6.7060609@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-11-26 09:14:04 +01:00
..
bkl.h events: Harmonize event field names and print output names 2009-10-15 12:42:03 +02:00
block.h tracing: Convert some block events to DEFINE_EVENT 2009-11-26 09:14:04 +01:00
ext4.h ext4: Add a stub for mpage_da_data in the trace header 2009-09-30 00:51:22 -04:00
irq.h tracing: Convert softirq events to DEFINE_EVENT 2009-11-26 09:14:03 +01:00
jbd2.h jbd2: Use tracepoints for history file 2009-09-30 00:32:06 -04:00
kmem.h tracing: Convert some kmem events to DEFINE_EVENT 2009-11-26 09:14:02 +01:00
kvm.h KVM: Add trace points in irqchip code 2009-09-10 08:33:11 +03:00
lock.h tracing: Rename 'lockdep' event subsystem into 'lock' 2009-11-13 10:48:27 +01:00
module.h tracing: Convert module refcnt events to DEFINE_EVENT 2009-11-26 09:14:02 +01:00
napi.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-06-15 03:02:23 -07:00
power.h tracing: Convert some power events to DEFINE_EVENT 2009-11-26 09:14:03 +01:00
sched.h events: Rename TRACE_EVENT_TEMPLATE() to DECLARE_EVENT_CLASS() 2009-11-26 09:04:55 +01:00
skb.h net: skb ftracer - add tracepoint to skb_copy_datagram_iovec (v3) 2009-08-13 16:26:14 -07:00
syscalls.h tracing: Create generic syscall TRACE_EVENTs 2009-08-26 00:41:48 +02:00
timer.h events: Harmonize event field names and print output names 2009-10-15 12:42:03 +02:00
workqueue.h tracing: Convert some workqueue events to DEFINE_EVENT 2009-11-26 09:14:03 +01:00