• Frederic Weisbecker's avatar
    tracing/fastboot: Enable boot tracing only during initcalls · 71566a0d
    Frederic Weisbecker authored
    Impact: modify boot tracer
    
    We used to disable the initcall tracing at a specified time (IE: end
    of builtin initcalls). But we don't need it anymore. It will be
    stopped when initcalls are finished.
    
    However we want two things:
    
    _Start this tracing only after pre-smp initcalls are finished.
    
    _Since we are planning to trace sched_switches at the same time, we
    want to enable them only during the initcall execution.
    
    For this purpose, this patch introduce two functions to enable/disable
    the sched_switch tracing during boot.
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    71566a0d
trace_boot.c 2.86 KB