]> git.karo-electronics.de Git - linux-beck.git/commitdiff
tracing/events: move trace point headers into include/trace/events
authorSteven Rostedt <srostedt@redhat.com>
Tue, 14 Apr 2009 23:39:12 +0000 (19:39 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 15 Apr 2009 02:05:43 +0000 (22:05 -0400)
Impact: clean up

Create a sub directory in include/trace called events to keep the
trace point headers in their own separate directory. Only headers that
declare trace points should be defined in this directory.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Neil Horman <nhorman@tuxdriver.com>
Cc: Zhao Lei <zhaolei@cn.fujitsu.com>
Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
22 files changed:
include/linux/kmemtrace.h
include/trace/define_trace.h
include/trace/events/irq.h [moved from include/trace/irq.h with 100% similarity]
include/trace/events/kmem.h [moved from include/trace/kmem.h with 100% similarity]
include/trace/events/lockdep.h [moved from include/trace/lockdep.h with 100% similarity]
include/trace/events/sched.h [moved from include/trace/sched.h with 100% similarity]
include/trace/events/skb.h [moved from include/trace/skb.h with 100% similarity]
kernel/exit.c
kernel/fork.c
kernel/irq/handle.c
kernel/kthread.c
kernel/lockdep.c
kernel/sched.c
kernel/signal.c
kernel/softirq.c
kernel/trace/ftrace.c
kernel/trace/trace_sched_switch.c
kernel/trace/trace_sched_wakeup.c
mm/util.c
net/core/drop_monitor.c
net/core/net-traces.c
net/core/skbuff.c

index 15c45a27a925c4ecb9064b65f549bdbd7244dcbe..b616d3930c3b796f59978ce0a9da3001a1c1c732 100644 (file)
@@ -9,7 +9,7 @@
 
 #ifdef __KERNEL__
 
-#include <trace/kmem.h>
+#include <trace/events/kmem.h>
 
 #ifdef CONFIG_KMEMTRACE
 extern void kmemtrace_init(void);
index 980eb66a6e386eaff624e9146bfc741cd2b03c51..18869417109c0340519a6276534d35b6fdc3c494 100644 (file)
@@ -43,7 +43,7 @@
 #endif
 
 #ifndef TRACE_INCLUDE_PATH
-# define __TRACE_INCLUDE(system) <trace/system.h>
+# define __TRACE_INCLUDE(system) <trace/events/system.h>
 # define UNDEF_TRACE_INCLUDE_FILE
 #else
 # define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h)
index 2fe9d2c7eeeec6ec0b2d09ef8ee11543cdf0a626..cab535c427b8f0cdefc78cc7b7d2aca39ee2576b 100644 (file)
@@ -48,7 +48,7 @@
 #include <linux/tracehook.h>
 #include <linux/fs_struct.h>
 #include <linux/init_task.h>
-#include <trace/sched.h>
+#include <trace/events/sched.h>
 
 #include <asm/uaccess.h>
 #include <asm/unistd.h>
index 4bebf2639235878c1c04e30f9bc837f4779058fb..085f73ebcea63606cc6110701e47f245a7176093 100644 (file)
@@ -61,7 +61,6 @@
 #include <linux/proc_fs.h>
 #include <linux/blkdev.h>
 #include <linux/fs_struct.h>
-#include <trace/sched.h>
 #include <linux/magic.h>
 
 #include <asm/pgtable.h>
@@ -71,6 +70,8 @@
 #include <asm/cacheflush.h>
 #include <asm/tlbflush.h>
 
+#include <trace/events/sched.h>
+
 /*
  * Protected counters by write_lock_irq(&tasklist_lock)
  */
index 983d8be8dff710542510e39900e2b8bf18db1e68..37c63633e78b48ea71073d12af325ba79f0ec97d 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/bootmem.h>
 
 #define CREATE_TRACE_POINTS
-#include <trace/irq.h>
+#include <trace/events/irq.h>
 
 #include "internals.h"
 
index e1c76924545b159bf1541047621a98e8647131d9..41c88fe40500399c76f0382d51a3fb05aef03211 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/file.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
-#include <trace/sched.h>
+#include <trace/events/sched.h>
 
 #define KTHREAD_NICE_LEVEL (-5)
 
index 257f21a76c52eaa519f2fb18ea2a42ed8aea26e8..47b201ecc6df5cd8ae30842bea386a6adad8f0bd 100644 (file)
@@ -48,7 +48,7 @@
 #include "lockdep_internals.h"
 
 #define CREATE_TRACE_POINTS
-#include <trace/lockdep.h>
+#include <trace/events/lockdep.h>
 
 #ifdef CONFIG_PROVE_LOCKING
 int prove_locking = 1;
index e6d4518d47e00566a03ca2799bacd600a85966ad..9f7ffd00b6ea437fa89cc7ecefef1f844e22f698 100644 (file)
@@ -79,7 +79,7 @@
 #include "sched_cpupri.h"
 
 #define CREATE_TRACE_POINTS
-#include <trace/sched.h>
+#include <trace/events/sched.h>
 
 /*
  * Convert user-nice values [ -20 ... 0 ... 19 ]
index 1d5703ff003c31a5481db12bb40f5141fd0385d0..94ec0a4dde0f6df546b9d9e348fce68949e1409b 100644 (file)
@@ -27,7 +27,7 @@
 #include <linux/freezer.h>
 #include <linux/pid_namespace.h>
 #include <linux/nsproxy.h>
-#include <trace/sched.h>
+#include <trace/events/sched.h>
 
 #include <asm/param.h>
 #include <asm/uaccess.h>
index a2d9b458ac2b56a8b2cca2588a0ff345506011ba..7ab9dfd8d0820c4dc2bbbcec9522e61a8be71b6e 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/ftrace.h>
 #include <linux/smp.h>
 #include <linux/tick.h>
-#include <trace/irq.h>
+#include <trace/events/irq.h>
 
 #include <asm/irq.h>
 /*
index 8e6a0b5c99405862963d8fbac3ce3c79fffc943e..a23488988581aab4b4638b9c7ca6f282aed6c7de 100644 (file)
@@ -29,7 +29,7 @@
 #include <linux/list.h>
 #include <linux/hash.h>
 
-#include <trace/sched.h>
+#include <trace/events/sched.h>
 
 #include <asm/ftrace.h>
 
index 9d8cccdfaa06c42e8f50729e7605f9a8b9f9b5f1..a98106dd979cfd7bd305cfab5a506fec61e95e46 100644 (file)
@@ -10,7 +10,7 @@
 #include <linux/kallsyms.h>
 #include <linux/uaccess.h>
 #include <linux/ftrace.h>
-#include <trace/sched.h>
+#include <trace/events/sched.h>
 
 #include "trace.h"
 
index 5bc00e8f153ebb8682589caa37b553b05800f6b0..b8b13c5540fdbb752a41f428a67b548d80c9b436 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/kallsyms.h>
 #include <linux/uaccess.h>
 #include <linux/ftrace.h>
-#include <trace/sched.h>
+#include <trace/events/sched.h>
 
 #include "trace.h"
 
index 0e74a22791cb07abced2337b101a88acbaaa8507..6794a336e9af49303cabd9dda014c11bfbb94fd9 100644 (file)
--- a/mm/util.c
+++ b/mm/util.c
@@ -7,7 +7,7 @@
 #include <asm/uaccess.h>
 
 #define CREATE_TRACE_POINTS
-#include <trace/kmem.h>
+#include <trace/events/kmem.h>
 
 /**
  * kstrdup - allocate space for and copy an existing string
index 9fd0dc3cca99f5bad5af9fdbc189c528573fcc90..b75b6cea49dab47cbca9098a259ac44e4e51b4c8 100644 (file)
@@ -23,7 +23,7 @@
 #include <linux/bitops.h>
 #include <net/genetlink.h>
 
-#include <trace/skb.h>
+#include <trace/events/skb.h>
 
 #include <asm/unaligned.h>
 
index 801772059474198bfa14d2508035c0adc84f3cf4..499a67eaf3ae201262c4a2e53f20870721b8f184 100644 (file)
@@ -24,6 +24,6 @@
 #include <asm/bitops.h>
 
 #define CREATE_TRACE_POINTS
-#include <trace/skb.h>
+#include <trace/events/skb.h>
 
 EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb);
index ce6356cd9f71c76bad3cf9a0ec5fbb774c0a427a..12806b8444562405743c14305e7f5d842dc2fe7f 100644 (file)
@@ -65,7 +65,7 @@
 
 #include <asm/uaccess.h>
 #include <asm/system.h>
-#include <trace/skb.h>
+#include <trace/events/skb.h>
 
 #include "kmap_skb.h"