• Ingo Molnar's avatar
    tracing: branch tracer, tweak output · f88c4ae9
    Ingo Molnar authored
    Impact: modify the tracer output, to make it a bit easier to read
    
    Change the output from:
    
    >  bash-3471  [003]   357.014755: [INCORRECT] sched_info_dequeued:sched_stats.h:177
    >  bash-3471  [003]   357.014756: [correct] update_curr:sched_fair.c:489
    >  bash-3471  [003]   357.014758: [correct] calc_delta_fair:sched_fair.c:411
    
    to:
    
    >  bash-3471  [003]   357.014755: [ MISS ] sched_info_dequeued:sched_stats.h:177
    >  bash-3471  [003]   357.014756: [ .... ] update_curr:sched_fair.c:489
    >  bash-3471  [003]   357.014758: [ .... ] calc_delta_fair:sched_fair.c:411
    
    it's good to have fields aligned vertically, and the only important
    information is a prediction miss, so display only that information.
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    f88c4ae9
trace.c 77.3 KB