aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorAmérico Wang <xiyou.wangcong@gmail.com>2010-05-26 06:57:53 -0400
committerFrederic Weisbecker <fweisbec@gmail.com>2010-06-08 17:31:28 -0400
commit30dbb20e68e6f7df974b77d2350ebad5eb6f6c9e (patch)
treeb28f8232756e0de57ded858d6584724317b405ef /kernel/trace/trace.h
parentb0f82b81fe6bbcf78d478071f33e44554726bc81 (diff)
tracing: Remove boot tracer
The boot tracer is useless. It simply logs the initcalls but in fact these initcalls are also logged through printk while using the initcall_debug kernel parameter. Nobody seem to be using it so far. Then just remove it. Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com> Cc: Chase Douglas <chase.douglas@canonical.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Li Zefan <lizf@cn.fujitsu.com> LKML-Reference: <20100526105753.GA5677@cr0.nay.redhat.com> [ remove the hooks in main.c, and the headers ] Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 2cd96399463f..75a5e800a737 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -9,10 +9,8 @@
9#include <linux/mmiotrace.h> 9#include <linux/mmiotrace.h>
10#include <linux/tracepoint.h> 10#include <linux/tracepoint.h>
11#include <linux/ftrace.h> 11#include <linux/ftrace.h>
12#include <trace/boot.h>
13#include <linux/kmemtrace.h> 12#include <linux/kmemtrace.h>
14#include <linux/hw_breakpoint.h> 13#include <linux/hw_breakpoint.h>
15
16#include <linux/trace_seq.h> 14#include <linux/trace_seq.h>
17#include <linux/ftrace_event.h> 15#include <linux/ftrace_event.h>
18 16
@@ -29,8 +27,6 @@ enum trace_type {
29 TRACE_MMIO_RW, 27 TRACE_MMIO_RW,
30 TRACE_MMIO_MAP, 28 TRACE_MMIO_MAP,
31 TRACE_BRANCH, 29 TRACE_BRANCH,
32 TRACE_BOOT_CALL,
33 TRACE_BOOT_RET,
34 TRACE_GRAPH_RET, 30 TRACE_GRAPH_RET,
35 TRACE_GRAPH_ENT, 31 TRACE_GRAPH_ENT,
36 TRACE_USER_STACK, 32 TRACE_USER_STACK,
@@ -48,8 +44,6 @@ enum kmemtrace_type_id {
48 KMEMTRACE_TYPE_PAGES, /* __get_free_pages() and friends. */ 44 KMEMTRACE_TYPE_PAGES, /* __get_free_pages() and friends. */
49}; 45};
50 46
51extern struct tracer boot_tracer;
52
53#undef __field 47#undef __field
54#define __field(type, item) type item; 48#define __field(type, item) type item;
55 49
@@ -209,8 +203,6 @@ extern void __ftrace_bad_type(void);
209 TRACE_MMIO_RW); \ 203 TRACE_MMIO_RW); \
210 IF_ASSIGN(var, ent, struct trace_mmiotrace_map, \ 204 IF_ASSIGN(var, ent, struct trace_mmiotrace_map, \
211 TRACE_MMIO_MAP); \ 205 TRACE_MMIO_MAP); \
212 IF_ASSIGN(var, ent, struct trace_boot_call, TRACE_BOOT_CALL);\
213 IF_ASSIGN(var, ent, struct trace_boot_ret, TRACE_BOOT_RET);\
214 IF_ASSIGN(var, ent, struct trace_branch, TRACE_BRANCH); \ 206 IF_ASSIGN(var, ent, struct trace_branch, TRACE_BRANCH); \
215 IF_ASSIGN(var, ent, struct ftrace_graph_ent_entry, \ 207 IF_ASSIGN(var, ent, struct ftrace_graph_ent_entry, \
216 TRACE_GRAPH_ENT); \ 208 TRACE_GRAPH_ENT); \