tracing: Move enabling tracepoints to just after rcu_init()
[deliverable/linux.git] / kernel / trace / trace.c
index 4ceb2546c7efb98d2509a79e92816bb8f7282ef7..ec3ca694665f63e46ef5474240d221111c71fa5e 100644 (file)
@@ -6876,6 +6876,13 @@ out:
        return ret;
 }
 
+void __init trace_init(void)
+{
+       tracer_alloc_buffers();
+       init_ftrace_syscalls();
+       trace_event_init();     
+}
+
 __init static int clear_boot_tracer(void)
 {
        /*
@@ -6895,6 +6902,5 @@ __init static int clear_boot_tracer(void)
        return 0;
 }
 
-early_initcall(tracer_alloc_buffers);
 fs_initcall(tracer_init_debugfs);
 late_initcall(clear_boot_tracer);
This page took 0.024709 seconds and 5 git commands to generate.