linux-stable/include/trace
Steven Rostedt ea20d9293c tracing: consolidate trace and trace_event headers
Impact: clean up

Neil Horman (et. al.) criticized the way the trace events were broken up
into two files. The reason for that was that ftrace needed to separate out
the declarations from where the #include <linux/tracepoint.h> was used.
It then dawned on me that the tracepoint.h header only needs to define the
TRACE_EVENT macro if it is not already defined.

The solution is simply to test if TRACE_EVENT is defined, and if it is not
then the linux/tracepoint.h header can define it. This change consolidates
all the <traces>.h and <traces>_event_types.h into the <traces>.h file.

Reported-by: Neil Horman <nhorman@tuxdriver.com>
Reported-by: Theodore Tso <tytso@mit.edu>
Reported-by: Jiaying Zhang <jiayingz@google.com>
Cc: Zhaolei <zhaolei@cn.fujitsu.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2009-04-14 09:43:40 -04:00
..
block.h tracing: replace TP<var> with TP_<var> 2009-03-10 00:35:04 -04:00
boot.h tracing/fastboot: include missing headers 2008-12-12 09:26:13 +01:00
irq.h tracing: consolidate trace and trace_event headers 2009-04-14 09:43:40 -04:00
kmem.h tracing: consolidate trace and trace_event headers 2009-04-14 09:43:40 -04:00
kmem_event_types.h tracing, kmemtrace: Make kmem tracepoints use TRACE_EVENT macro 2009-04-12 15:22:56 +02:00
lockdep.h tracing: consolidate trace and trace_event headers 2009-04-14 09:43:40 -04:00
power.h tracing: replace TP<var> with TP_<var> 2009-03-10 00:35:04 -04:00
sched.h tracing: consolidate trace and trace_event headers 2009-04-14 09:43:40 -04:00
skb.h tracing: consolidate trace and trace_event headers 2009-04-14 09:43:40 -04:00
syscall.h tracing/syscalls: use a dedicated file header 2009-04-09 05:43:32 +02:00
trace_events.h tracing, kmemtrace: Make kmem tracepoints use TRACE_EVENT macro 2009-04-12 15:22:56 +02:00
workqueue.h tracing: replace TP<var> with TP_<var> 2009-03-10 00:35:04 -04:00