diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-10-23 15:33:05 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-23 16:00:22 +0200 |
commit | cb7be3b2fc2cf089ee52b16f0fd9ebb29e9944e1 (patch) | |
tree | 4d5e4c1d1211ee7be1a583a9f9c4b33b7d4ce2ee /kernel/trace/trace_selftest.c | |
parent | ftrace: disable dynamic ftrace for all archs that use daemon (diff) | |
download | linux-cb7be3b2fc2cf089ee52b16f0fd9ebb29e9944e1.tar.xz linux-cb7be3b2fc2cf089ee52b16f0fd9ebb29e9944e1.zip |
ftrace: remove daemon
The ftrace daemon is complex and error prone. This patch strips it out
of the code.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_selftest.c')
-rw-r--r-- | kernel/trace/trace_selftest.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c index 95815d26a041..90bc752a7580 100644 --- a/kernel/trace/trace_selftest.c +++ b/kernel/trace/trace_selftest.c @@ -99,13 +99,6 @@ int trace_selftest_startup_dynamic_tracing(struct tracer *trace, /* passed in by parameter to fool gcc from optimizing */ func(); - /* update the records */ - ret = ftrace_force_update(); - if (ret) { - printk(KERN_CONT ".. ftraced failed .. "); - return ret; - } - /* * Some archs *cough*PowerPC*cough* add charachters to the * start of the function names. We simply put a '*' to @@ -183,13 +176,6 @@ trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr) /* make sure msleep has been recorded */ msleep(1); - /* force the recorded functions to be traced */ - ret = ftrace_force_update(); - if (ret) { - printk(KERN_CONT ".. ftraced failed .. "); - return ret; - } - /* start the tracing */ ftrace_enabled = 1; tracer_enabled = 1; |