linux/include/trace/events
Ingo Molnar 091ad3658e events: Rename TRACE_EVENT_TEMPLATE() to DECLARE_EVENT_CLASS()
It is not quite obvious at first sight what TRACE_EVENT_TEMPLATE
does: does it define an event as well beyond defining a template?

To clarify this, rename it to DECLARE_EVENT_CLASS, which follows
the various 'DECLARE_*()' idioms we already have in the kernel:

  DECLARE_EVENT_CLASS(class)

    DEFINE_EVENT(class, event1)
    DEFINE_EVENT(class, event2)
    DEFINE_EVENT(class, event3)

To complete this logic we should also rename TRACE_EVENT() to:

  DEFINE_SINGLE_EVENT(single_event)

... but in a more quiet moment of the kernel cycle.

Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4B0E286A.2000405@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-11-26 09:04:55 +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, page-allocator: add trace event for page traffic related to the buddy lists 2009-09-22 07:17:34 -07: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/events: Add module tracepoints 2009-08-17 11:25:08 +02: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