• Steven Rostedt's avatar
    function-graph: allow unregistering twice · 2aad1b76
    Steven Rostedt authored
    Impact: fix to permanent disabling of function graph tracer
    
    There should be nothing to prevent a tracer from unregistering a
    function graph callback more than once. This can simplify error paths.
    
    But currently, the counter does not account for mulitple unregistering
    of the function graph callback. If it happens, the function graph
    tracer will be permanently disabled.
    Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    2aad1b76
ftrace.c 56.7 KB