Merge branch 'tracing/fastboot' into tracing/ftrace

This commit is contained in:
Ingo Molnar
2008-11-06 07:43:47 +01:00
6 changed files with 66 additions and 38 deletions

View File

@@ -3285,6 +3285,8 @@ __init static int tracer_alloc_buffers(void)
register_tracer(&nop_trace);
#ifdef CONFIG_BOOT_TRACER
/* We don't want to launch sched_switch tracer yet */
global_trace.ctrl = 0;
register_tracer(&boot_tracer);
current_trace = &boot_tracer;
current_trace->init(&global_trace);