summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-09-10 03:34:19 +0200
committerSteven Rostedt <rostedt@goodmis.org>2009-09-10 05:54:06 +0200
commite0ab5f2daee1c7a6a387591bf37f0bad4e407112 (patch)
tree15daf95b939c6ed7e65e67b2acbbb740c2c145f9 /kernel/trace/trace.h
parenttracing: do not grab lock in wakeup latency function tracing (diff)
downloadlinux-e0ab5f2daee1c7a6a387591bf37f0bad4e407112.tar.xz
linux-e0ab5f2daee1c7a6a387591bf37f0bad4e407112.zip
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/trace.h')
-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 {
char buf[];
};
-#define TRACE_OLD_SIZE 88
-
-struct trace_field_cont {
- unsigned char type;
- /* Temporary till we get rid of this completely */
- char buf[TRACE_OLD_SIZE - 1];
-};
-
struct trace_mmiotrace_rw {
struct trace_entry ent;
struct mmiotrace_rw rw;
@@ -509,20 +501,6 @@ static inline void __trace_stack(struct trace_array *tr, unsigned long flags,
extern cycle_t ftrace_now(int cpu);
-#ifdef CONFIG_CONTEXT_SWITCH_TRACER
-typedef void
-(*tracer_switch_func_t)(void *private,
- void *__rq,
- struct task_struct *prev,
- struct task_struct *next);
-
-struct tracer_switch_ops {
- tracer_switch_func_t func;
- void *private;
- struct tracer_switch_ops *next;
-};
-#endif /* CONFIG_CONTEXT_SWITCH_TRACER */
-
extern void trace_find_cmdline(int pid, char comm[]);
#ifdef CONFIG_DYNAMIC_FTRACE