Skip to content
  • Steven Rostedt's avatar
    trace: fix default boot up tracer · b2821ae6
    Steven Rostedt authored
    
    
    Peter Zijlstra started the functionality to start up a default
    tracing at bootup. This patch finishes the work.
    
    Now if you add 'ftrace=<tracer>' to the command line, when that tracer
    is registered on bootup, that tracer is selected and starts tracing.
    
    Note, all selftests for tracers that are registered after this tracer
    is disabled. This prevents the selftests from disturbing the running
    tracer, or the running tracer from disturbing the selftest.
    
    Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    b2821ae6