diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2010-07-15 17:27:35 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2010-07-15 17:59:33 -0400 |
commit | 5d550467b9770042e9699690907babc32104a8d4 (patch) | |
tree | eda923f5976f5d6f881719998207696147cffa41 /kernel/trace/trace.h | |
parent | 86a8c63f75a4582c44465e2bf71bc2df175cee77 (diff) |
tracing: Remove ksym tracer
The ksym (breakpoint) ftrace plugin has been superseded by perf
tools that are much more poweful to use the cpu breakpoints.
This tracer doesn't bring more feature. It has been deprecated
for a while now, lets remove it.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Prasad <prasad@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index cc90ccdad469..84d3f123e86f 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -30,7 +30,6 @@ enum trace_type { | |||
30 | TRACE_GRAPH_ENT, | 30 | TRACE_GRAPH_ENT, |
31 | TRACE_USER_STACK, | 31 | TRACE_USER_STACK, |
32 | TRACE_BLK, | 32 | TRACE_BLK, |
33 | TRACE_KSYM, | ||
34 | 33 | ||
35 | __TRACE_LAST_TYPE, | 34 | __TRACE_LAST_TYPE, |
36 | }; | 35 | }; |
@@ -200,7 +199,6 @@ extern void __ftrace_bad_type(void); | |||
200 | TRACE_GRAPH_ENT); \ | 199 | TRACE_GRAPH_ENT); \ |
201 | IF_ASSIGN(var, ent, struct ftrace_graph_ret_entry, \ | 200 | IF_ASSIGN(var, ent, struct ftrace_graph_ret_entry, \ |
202 | TRACE_GRAPH_RET); \ | 201 | TRACE_GRAPH_RET); \ |
203 | IF_ASSIGN(var, ent, struct ksym_trace_entry, TRACE_KSYM);\ | ||
204 | __ftrace_bad_type(); \ | 202 | __ftrace_bad_type(); \ |
205 | } while (0) | 203 | } while (0) |
206 | 204 | ||
@@ -361,8 +359,6 @@ int register_tracer(struct tracer *type); | |||
361 | void unregister_tracer(struct tracer *type); | 359 | void unregister_tracer(struct tracer *type); |
362 | int is_tracing_stopped(void); | 360 | int is_tracing_stopped(void); |
363 | 361 | ||
364 | extern int process_new_ksym_entry(char *ksymname, int op, unsigned long addr); | ||
365 | |||
366 | extern unsigned long nsecs_to_usecs(unsigned long nsecs); | 362 | extern unsigned long nsecs_to_usecs(unsigned long nsecs); |
367 | 363 | ||
368 | extern unsigned long tracing_thresh; | 364 | extern unsigned long tracing_thresh; |
@@ -436,8 +432,6 @@ extern int trace_selftest_startup_sysprof(struct tracer *trace, | |||
436 | struct trace_array *tr); | 432 | struct trace_array *tr); |
437 | extern int trace_selftest_startup_branch(struct tracer *trace, | 433 | extern int trace_selftest_startup_branch(struct tracer *trace, |
438 | struct trace_array *tr); | 434 | struct trace_array *tr); |
439 | extern int trace_selftest_startup_ksym(struct tracer *trace, | ||
440 | struct trace_array *tr); | ||
441 | #endif /* CONFIG_FTRACE_STARTUP_TEST */ | 435 | #endif /* CONFIG_FTRACE_STARTUP_TEST */ |
442 | 436 | ||
443 | extern void *head_page(struct trace_array_cpu *data); | 437 | extern void *head_page(struct trace_array_cpu *data); |