mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +00:00
091ad3658e
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> |
||
---|---|---|
.. | ||
bkl.h | ||
block.h | ||
ext4.h | ||
irq.h | ||
jbd2.h | ||
kmem.h | ||
kvm.h | ||
lock.h | ||
module.h | ||
napi.h | ||
power.h | ||
sched.h | ||
skb.h | ||
syscalls.h | ||
timer.h | ||
workqueue.h |