• S
    ftrace: separate out the function enabled variable · 60bc0800
    Steven Rostedt 提交于
    Currently the function tracer uses the global tracer_enabled variable that
    is used to keep track if the tracer is enabled or not. The function tracing
    startup needs to be separated out, otherwise the internal happenings of
    the tracer startup is also recorded.
    
    This patch creates a ftrace_function_enabled variable to all the starting
    of the function traces to happen after everything has been started.
    Signed-off-by: NSteven Rostedt <srostedt@redhat.com>
    Cc: Steven Rostedt <srostedt@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    60bc0800
trace.c 70.4 KB