diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-14 19:39:12 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-04-14 22:05:43 -0400 |
commit | ad8d75fff811a6a230f7f43b05a6483099349533 (patch) | |
tree | 764f75c0785b29067b141719b6e8000f005da7fd | |
parent | ecda8ae02a08ef065ff387f5cb2a2d4999da2408 (diff) |
tracing/events: move trace point headers into include/trace/events
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>
-rw-r--r-- | include/linux/kmemtrace.h | 2 | ||||
-rw-r--r-- | include/trace/define_trace.h | 2 | ||||
-rw-r--r-- | include/trace/events/irq.h (renamed from include/trace/irq.h) | 0 | ||||
-rw-r--r-- | include/trace/events/kmem.h (renamed from include/trace/kmem.h) | 0 | ||||
-rw-r--r-- | include/trace/events/lockdep.h (renamed from include/trace/lockdep.h) | 0 | ||||
-rw-r--r-- | include/trace/events/sched.h (renamed from include/trace/sched.h) | 0 | ||||
-rw-r--r-- | include/trace/events/skb.h (renamed from include/trace/skb.h) | 0 | ||||
-rw-r--r-- | kernel/exit.c | 2 | ||||
-rw-r--r-- | kernel/fork.c | 3 | ||||
-rw-r--r-- | kernel/irq/handle.c | 2 | ||||
-rw-r--r-- | kernel/kthread.c | 2 | ||||
-rw-r--r-- | kernel/lockdep.c | 2 | ||||
-rw-r--r-- | kernel/sched.c | 2 | ||||
-rw-r--r-- | kernel/signal.c | 2 | ||||
-rw-r--r-- | kernel/softirq.c | 2 | ||||
-rw-r--r-- | kernel/trace/ftrace.c | 2 | ||||
-rw-r--r-- | kernel/trace/trace_sched_switch.c | 2 | ||||
-rw-r--r-- | kernel/trace/trace_sched_wakeup.c | 2 | ||||
-rw-r--r-- | mm/util.c | 2 | ||||
-rw-r--r-- | net/core/drop_monitor.c | 2 | ||||
-rw-r--r-- | net/core/net-traces.c | 2 | ||||
-rw-r--r-- | net/core/skbuff.c | 2 |
22 files changed, 18 insertions, 17 deletions
diff --git a/include/linux/kmemtrace.h b/include/linux/kmemtrace.h index 15c45a27a925..b616d3930c3b 100644 --- a/include/linux/kmemtrace.h +++ b/include/linux/kmemtrace.h | |||
@@ -9,7 +9,7 @@ | |||
9 | 9 | ||
10 | #ifdef __KERNEL__ | 10 | #ifdef __KERNEL__ |
11 | 11 | ||
12 | #include <trace/kmem.h> | 12 | #include <trace/events/kmem.h> |
13 | 13 | ||
14 | #ifdef CONFIG_KMEMTRACE | 14 | #ifdef CONFIG_KMEMTRACE |
15 | extern void kmemtrace_init(void); | 15 | extern void kmemtrace_init(void); |
diff --git a/include/trace/define_trace.h b/include/trace/define_trace.h index 980eb66a6e38..18869417109c 100644 --- a/include/trace/define_trace.h +++ b/include/trace/define_trace.h | |||
@@ -43,7 +43,7 @@ | |||
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | #ifndef TRACE_INCLUDE_PATH | 45 | #ifndef TRACE_INCLUDE_PATH |
46 | # define __TRACE_INCLUDE(system) <trace/system.h> | 46 | # define __TRACE_INCLUDE(system) <trace/events/system.h> |
47 | # define UNDEF_TRACE_INCLUDE_FILE | 47 | # define UNDEF_TRACE_INCLUDE_FILE |
48 | #else | 48 | #else |
49 | # define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h) | 49 | # define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h) |
diff --git a/include/trace/irq.h b/include/trace/events/irq.h index 75e3468e4493..75e3468e4493 100644 --- a/include/trace/irq.h +++ b/include/trace/events/irq.h | |||
diff --git a/include/trace/kmem.h b/include/trace/events/kmem.h index c22c42f980b5..c22c42f980b5 100644 --- a/include/trace/kmem.h +++ b/include/trace/events/kmem.h | |||
diff --git a/include/trace/lockdep.h b/include/trace/events/lockdep.h index 45e326b5c7f3..45e326b5c7f3 100644 --- a/include/trace/lockdep.h +++ b/include/trace/events/lockdep.h | |||
diff --git a/include/trace/sched.h b/include/trace/events/sched.h index ffa1cab586b9..ffa1cab586b9 100644 --- a/include/trace/sched.h +++ b/include/trace/events/sched.h | |||
diff --git a/include/trace/skb.h b/include/trace/events/skb.h index 1e8fabb57c06..1e8fabb57c06 100644 --- a/include/trace/skb.h +++ b/include/trace/events/skb.h | |||
diff --git a/kernel/exit.c b/kernel/exit.c index 2fe9d2c7eeee..cab535c427b8 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include <linux/tracehook.h> | 48 | #include <linux/tracehook.h> |
49 | #include <linux/fs_struct.h> | 49 | #include <linux/fs_struct.h> |
50 | #include <linux/init_task.h> | 50 | #include <linux/init_task.h> |
51 | #include <trace/sched.h> | 51 | #include <trace/events/sched.h> |
52 | 52 | ||
53 | #include <asm/uaccess.h> | 53 | #include <asm/uaccess.h> |
54 | #include <asm/unistd.h> | 54 | #include <asm/unistd.h> |
diff --git a/kernel/fork.c b/kernel/fork.c index 4bebf2639235..085f73ebcea6 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -61,7 +61,6 @@ | |||
61 | #include <linux/proc_fs.h> | 61 | #include <linux/proc_fs.h> |
62 | #include <linux/blkdev.h> | 62 | #include <linux/blkdev.h> |
63 | #include <linux/fs_struct.h> | 63 | #include <linux/fs_struct.h> |
64 | #include <trace/sched.h> | ||
65 | #include <linux/magic.h> | 64 | #include <linux/magic.h> |
66 | 65 | ||
67 | #include <asm/pgtable.h> | 66 | #include <asm/pgtable.h> |
@@ -71,6 +70,8 @@ | |||
71 | #include <asm/cacheflush.h> | 70 | #include <asm/cacheflush.h> |
72 | #include <asm/tlbflush.h> | 71 | #include <asm/tlbflush.h> |
73 | 72 | ||
73 | #include <trace/events/sched.h> | ||
74 | |||
74 | /* | 75 | /* |
75 | * Protected counters by write_lock_irq(&tasklist_lock) | 76 | * Protected counters by write_lock_irq(&tasklist_lock) |
76 | */ | 77 | */ |
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 983d8be8dff7..37c63633e78b 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/bootmem.h> | 20 | #include <linux/bootmem.h> |
21 | 21 | ||
22 | #define CREATE_TRACE_POINTS | 22 | #define CREATE_TRACE_POINTS |
23 | #include <trace/irq.h> | 23 | #include <trace/events/irq.h> |
24 | 24 | ||
25 | #include "internals.h" | 25 | #include "internals.h" |
26 | 26 | ||
diff --git a/kernel/kthread.c b/kernel/kthread.c index e1c76924545b..41c88fe40500 100644 --- a/kernel/kthread.c +++ b/kernel/kthread.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/file.h> | 13 | #include <linux/file.h> |
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | #include <linux/mutex.h> | 15 | #include <linux/mutex.h> |
16 | #include <trace/sched.h> | 16 | #include <trace/events/sched.h> |
17 | 17 | ||
18 | #define KTHREAD_NICE_LEVEL (-5) | 18 | #define KTHREAD_NICE_LEVEL (-5) |
19 | 19 | ||
diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 257f21a76c52..47b201ecc6df 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include "lockdep_internals.h" | 48 | #include "lockdep_internals.h" |
49 | 49 | ||
50 | #define CREATE_TRACE_POINTS | 50 | #define CREATE_TRACE_POINTS |
51 | #include <trace/lockdep.h> | 51 | #include <trace/events/lockdep.h> |
52 | 52 | ||
53 | #ifdef CONFIG_PROVE_LOCKING | 53 | #ifdef CONFIG_PROVE_LOCKING |
54 | int prove_locking = 1; | 54 | int prove_locking = 1; |
diff --git a/kernel/sched.c b/kernel/sched.c index e6d4518d47e0..9f7ffd00b6ea 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -79,7 +79,7 @@ | |||
79 | #include "sched_cpupri.h" | 79 | #include "sched_cpupri.h" |
80 | 80 | ||
81 | #define CREATE_TRACE_POINTS | 81 | #define CREATE_TRACE_POINTS |
82 | #include <trace/sched.h> | 82 | #include <trace/events/sched.h> |
83 | 83 | ||
84 | /* | 84 | /* |
85 | * Convert user-nice values [ -20 ... 0 ... 19 ] | 85 | * Convert user-nice values [ -20 ... 0 ... 19 ] |
diff --git a/kernel/signal.c b/kernel/signal.c index 1d5703ff003c..94ec0a4dde0f 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/freezer.h> | 27 | #include <linux/freezer.h> |
28 | #include <linux/pid_namespace.h> | 28 | #include <linux/pid_namespace.h> |
29 | #include <linux/nsproxy.h> | 29 | #include <linux/nsproxy.h> |
30 | #include <trace/sched.h> | 30 | #include <trace/events/sched.h> |
31 | 31 | ||
32 | #include <asm/param.h> | 32 | #include <asm/param.h> |
33 | #include <asm/uaccess.h> | 33 | #include <asm/uaccess.h> |
diff --git a/kernel/softirq.c b/kernel/softirq.c index a2d9b458ac2b..7ab9dfd8d082 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/ftrace.h> | 24 | #include <linux/ftrace.h> |
25 | #include <linux/smp.h> | 25 | #include <linux/smp.h> |
26 | #include <linux/tick.h> | 26 | #include <linux/tick.h> |
27 | #include <trace/irq.h> | 27 | #include <trace/events/irq.h> |
28 | 28 | ||
29 | #include <asm/irq.h> | 29 | #include <asm/irq.h> |
30 | /* | 30 | /* |
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 8e6a0b5c9940..a23488988581 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include <linux/list.h> | 29 | #include <linux/list.h> |
30 | #include <linux/hash.h> | 30 | #include <linux/hash.h> |
31 | 31 | ||
32 | #include <trace/sched.h> | 32 | #include <trace/events/sched.h> |
33 | 33 | ||
34 | #include <asm/ftrace.h> | 34 | #include <asm/ftrace.h> |
35 | 35 | ||
diff --git a/kernel/trace/trace_sched_switch.c b/kernel/trace/trace_sched_switch.c index 9d8cccdfaa06..a98106dd979c 100644 --- a/kernel/trace/trace_sched_switch.c +++ b/kernel/trace/trace_sched_switch.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/kallsyms.h> | 10 | #include <linux/kallsyms.h> |
11 | #include <linux/uaccess.h> | 11 | #include <linux/uaccess.h> |
12 | #include <linux/ftrace.h> | 12 | #include <linux/ftrace.h> |
13 | #include <trace/sched.h> | 13 | #include <trace/events/sched.h> |
14 | 14 | ||
15 | #include "trace.h" | 15 | #include "trace.h" |
16 | 16 | ||
diff --git a/kernel/trace/trace_sched_wakeup.c b/kernel/trace/trace_sched_wakeup.c index 5bc00e8f153e..b8b13c5540fd 100644 --- a/kernel/trace/trace_sched_wakeup.c +++ b/kernel/trace/trace_sched_wakeup.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/kallsyms.h> | 15 | #include <linux/kallsyms.h> |
16 | #include <linux/uaccess.h> | 16 | #include <linux/uaccess.h> |
17 | #include <linux/ftrace.h> | 17 | #include <linux/ftrace.h> |
18 | #include <trace/sched.h> | 18 | #include <trace/events/sched.h> |
19 | 19 | ||
20 | #include "trace.h" | 20 | #include "trace.h" |
21 | 21 | ||
@@ -7,7 +7,7 @@ | |||
7 | #include <asm/uaccess.h> | 7 | #include <asm/uaccess.h> |
8 | 8 | ||
9 | #define CREATE_TRACE_POINTS | 9 | #define CREATE_TRACE_POINTS |
10 | #include <trace/kmem.h> | 10 | #include <trace/events/kmem.h> |
11 | 11 | ||
12 | /** | 12 | /** |
13 | * kstrdup - allocate space for and copy an existing string | 13 | * kstrdup - allocate space for and copy an existing string |
diff --git a/net/core/drop_monitor.c b/net/core/drop_monitor.c index 9fd0dc3cca99..b75b6cea49da 100644 --- a/net/core/drop_monitor.c +++ b/net/core/drop_monitor.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/bitops.h> | 23 | #include <linux/bitops.h> |
24 | #include <net/genetlink.h> | 24 | #include <net/genetlink.h> |
25 | 25 | ||
26 | #include <trace/skb.h> | 26 | #include <trace/events/skb.h> |
27 | 27 | ||
28 | #include <asm/unaligned.h> | 28 | #include <asm/unaligned.h> |
29 | 29 | ||
diff --git a/net/core/net-traces.c b/net/core/net-traces.c index 801772059474..499a67eaf3ae 100644 --- a/net/core/net-traces.c +++ b/net/core/net-traces.c | |||
@@ -24,6 +24,6 @@ | |||
24 | #include <asm/bitops.h> | 24 | #include <asm/bitops.h> |
25 | 25 | ||
26 | #define CREATE_TRACE_POINTS | 26 | #define CREATE_TRACE_POINTS |
27 | #include <trace/skb.h> | 27 | #include <trace/events/skb.h> |
28 | 28 | ||
29 | EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb); | 29 | EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb); |
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index ce6356cd9f71..12806b844456 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -65,7 +65,7 @@ | |||
65 | 65 | ||
66 | #include <asm/uaccess.h> | 66 | #include <asm/uaccess.h> |
67 | #include <asm/system.h> | 67 | #include <asm/system.h> |
68 | #include <trace/skb.h> | 68 | #include <trace/events/skb.h> |
69 | 69 | ||
70 | #include "kmap_skb.h" | 70 | #include "kmap_skb.h" |
71 | 71 | ||