Skip to content
  • Steven Rostedt's avatar
    tracing: pass around ring buffer instead of tracer · e77405ad
    Steven Rostedt authored
    
    
    The latency tracers (irqsoff and wakeup) can swap trace buffers
    on the fly. If an event is happening and has reserved data on one of
    the buffers, and the latency tracer swaps the global buffer with the
    max buffer, the result is that the event may commit the data to the
    wrong buffer.
    
    This patch changes the API to the trace recording to be recieve the
    buffer that was used to reserve a commit. Then this buffer can be passed
    in to the commit.
    
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    e77405ad