]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/trace/trace_nop.c
Merge branch 'omap-pool'
[linux-2.6-omap-h63xx.git] / kernel / trace / trace_nop.c
index b9767acd30acca0fcb6192b847888d1d32a6924a..394f94417e2f9edadbfdd449a90f5b8fd9ddd166 100644 (file)
@@ -47,12 +47,7 @@ static void stop_nop_trace(struct trace_array *tr)
 
 static int nop_trace_init(struct trace_array *tr)
 {
-       int cpu;
        ctx_trace = tr;
-
-       for_each_online_cpu(cpu)
-               tracing_reset(tr, cpu);
-
        start_nop_trace(tr);
        return 0;
 }
@@ -96,6 +91,7 @@ struct tracer nop_trace __read_mostly =
        .name           = "nop",
        .init           = nop_trace_init,
        .reset          = nop_trace_reset,
+       .wait_pipe      = poll_wait_pipe,
 #ifdef CONFIG_FTRACE_SELFTEST
        .selftest       = trace_selftest_startup_nop,
 #endif