Skip to content
  • Steven Rostedt's avatar
    tracing: print out start and stop in latency traces · 8248ac05
    Steven Rostedt authored
    
    
    During development of the tracer, we would copy information from
    the live tracer to the max tracer with one memcpy. Since then we
    added a generic ring buffer and we handle the copies differently now.
    Unfortunately, we never copied the critical section information, and
    we lost the output:
    
     #  => started at: kmem_cache_alloc
     #  => ended at:   kmem_cache_alloc
    
    This patch adds back the critical start and end copying as well as
    removes the unused "trace_idx" and "overrun" fields of the
    trace_array_cpu structure.
    
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    8248ac05