• Steven Rostedt's avatar
    ftrace: irqsoff tracer incorrect reset · 45193170
    Steven Rostedt authored
    Impact: fix to irqsoff tracer output
    
    In converting to the new start / stop ftrace handling, the irqsoff
    tracer start called the irqsoff reset function. irqsoff tracer is
    not the same as the other traces, and it resets the buffers while
    searching for the longest latency.
    
    The reset that the irqsoff stop method calls disables the function
    tracing. That means that, by starting the tracer, the function
    tracer is disabled incorrectly.
    
    This patch simply removes the call to reset which keeps the function
    tracing enabled. Reset is not needed for the irqsoff stop method.
    Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    45193170
trace_irqsoff.c 11.3 KB