diff options
author | Zhaolei <zhaolei@cn.fujitsu.com> | 2009-04-10 02:26:18 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-12 09:22:55 -0400 |
commit | 02af61bb50f5d5f0322dbe5ab2a0d75808d25c7b (patch) | |
tree | fa087ed8a584d7b66016e6a1421e538369d52e5a /init/main.c | |
parent | abd41443ac76d3e9c29a8c1d9e9a3312306cc55e (diff) |
tracing, kmemtrace: Separate include/trace/kmemtrace.h to kmemtrace part and tracepoint part
Impact: refactor code for future changes
Current kmemtrace.h is used both as header file of kmemtrace and kmem's
tracepoints definition.
Tracepoints' definition file may be used by other code, and should only have
definition of tracepoint.
We can separate include/trace/kmemtrace.h into 2 files:
include/linux/kmemtrace.h: header file for kmemtrace
include/trace/kmem.h: definition of kmem tracepoints
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Acked-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <49DEE68A.5040902@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index 3585f073d636..eece40cd8a64 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -64,6 +64,7 @@ | |||
64 | #include <linux/idr.h> | 64 | #include <linux/idr.h> |
65 | #include <linux/ftrace.h> | 65 | #include <linux/ftrace.h> |
66 | #include <linux/async.h> | 66 | #include <linux/async.h> |
67 | #include <linux/kmemtrace.h> | ||
67 | #include <trace/boot.h> | 68 | #include <trace/boot.h> |
68 | 69 | ||
69 | #include <asm/io.h> | 70 | #include <asm/io.h> |
@@ -71,7 +72,6 @@ | |||
71 | #include <asm/setup.h> | 72 | #include <asm/setup.h> |
72 | #include <asm/sections.h> | 73 | #include <asm/sections.h> |
73 | #include <asm/cacheflush.h> | 74 | #include <asm/cacheflush.h> |
74 | #include <trace/kmemtrace.h> | ||
75 | 75 | ||
76 | #ifdef CONFIG_X86_LOCAL_APIC | 76 | #ifdef CONFIG_X86_LOCAL_APIC |
77 | #include <asm/smp.h> | 77 | #include <asm/smp.h> |