• Steven Rostedt's avatar
    ftrace: Remove unnecessary disabling of irqs · 8ab2b7ef
    Steven Rostedt authored
    The disabling of interrupts around ftrace_update_code() was used
    to protect against the evil ftrace daemon from years past. But that
    daemon has long been killed. It is safe to keep interrupts enabled
    while updating the initial mcount into nops.
    
    The ftrace_mutex is also held which keeps other users at bay.
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    8ab2b7ef
ftrace.c 72.9 KB