kernel_optimize_test/include/trace/events
Li Zefan 53d0422c2d tracing: Convert some kmem events to DEFINE_EVENT
Use DECLARE_EVENT_CLASS to remove duplicate code:

   text    data     bss     dec     hex filename
 333987   69800   27228  431015   693a7 mm/built-in.o.old
 330030   69800   27228  427058   68432 mm/built-in.o

8 events are converted:

  kmem_alloc: kmalloc, kmem_cache_alloc
  kmem_alloc_node: kmalloc_node, kmem_cache_alloc_node
  kmem_free: kfree, kmem_cache_free
  mm_page: mm_page_alloc_zone_locked, mm_page_pcpu_drain

No change in functionality.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mel Gorman <mel@csn.ul.ie>
LKML-Reference: <4B0E286A.2000405@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-11-26 09:14:02 +01:00
..
bkl.h events: Harmonize event field names and print output names 2009-10-15 12:42:03 +02:00
block.h Add a tracepoint for block request remapping 2009-10-01 21:19:34 +02: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 events: Harmonize event field names and print output names 2009-10-15 12:42:03 +02: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 events: Harmonize event field names and print output names 2009-10-15 12:42:03 +02: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/workqueue: Use %pf in workqueue trace events 2009-09-22 23:14:58 +02:00