aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-09-09 21:34:19 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-09-09 23:54:06 -0400
commite0ab5f2daee1c7a6a387591bf37f0bad4e407112 (patch)
tree15daf95b939c6ed7e65e67b2acbbb740c2c145f9 /kernel/trace
parent478142c39c8c2f5f63038e5f2224e6729406e587 (diff)
tracing: remove dead code
Removes unreachable code. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> LKML-Reference: <4AA8579B.4020706@cn.fujitsu.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index fa1dccb579d5..536ae1d83629 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -120,14 +120,6 @@ struct print_entry {
120 char buf[]; 120 char buf[];
121}; 121};
122 122
123#define TRACE_OLD_SIZE 88
124
125struct trace_field_cont {
126 unsigned char type;
127 /* Temporary till we get rid of this completely */
128 char buf[TRACE_OLD_SIZE - 1];
129};
130
131struct trace_mmiotrace_rw { 123struct trace_mmiotrace_rw {
132 struct trace_entry ent; 124 struct trace_entry ent;
133 struct mmiotrace_rw rw; 125 struct mmiotrace_rw rw;
@@ -509,20 +501,6 @@ static inline void __trace_stack(struct trace_array *tr, unsigned long flags,
509 501
510extern cycle_t ftrace_now(int cpu); 502extern cycle_t ftrace_now(int cpu);
511 503
512#ifdef CONFIG_CONTEXT_SWITCH_TRACER
513typedef void
514(*tracer_switch_func_t)(void *private,
515 void *__rq,
516 struct task_struct *prev,
517 struct task_struct *next);
518
519struct tracer_switch_ops {
520 tracer_switch_func_t func;
521 void *private;
522 struct tracer_switch_ops *next;
523};
524#endif /* CONFIG_CONTEXT_SWITCH_TRACER */
525
526extern void trace_find_cmdline(int pid, char comm[]); 504extern void trace_find_cmdline(int pid, char comm[]);
527 505
528#ifdef CONFIG_DYNAMIC_FTRACE 506#ifdef CONFIG_DYNAMIC_FTRACE