• Steven Rostedt's avatar
    tracing: convert ftrace_dump spinlocks to raw · cd891ae0
    Steven Rostedt authored
    ftrace_dump is used for printing out the contents of the ftrace ring buffer
    to the console on failure. Currently it uses a spinlock to synchronize
    the output from multiple failures on different CPUs. This spin lock
    currently is a normal spinlock and can cause issues with lockdep and
    lock tracing.
    
    This patch converts it to raw since it is for error handling only.
    The lock is local to the ftrace_dump and is not used by any other
    infrastructure.
    
    [ Impact: prevent ftrace_dump from locking up by internal tracing ]
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    cd891ae0
trace.c 96.3 KB