Skip to content
  • Wu Zhangjin's avatar
    MIPS: Tracing: Enable HAVE_FUNCTION_TRACE_MCOUNT_TEST for MIPS · 69a7d1b3
    Wu Zhangjin authored
    
    
    There is an exisiting common ftrace_test_stop_func() in
    kernel/trace/ftrace.c, which is used to check the global variable
    ftrace_trace_stop to determine whether stop the function tracing.
    
    This patch implepment the MIPS specific one to speedup the procedure.
    
    Thanks goes to Zhang Le for Cleaning it up.
    
    Signed-off-by: default avatarWu Zhangjin <wuzhangjin@gmail.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Nicholas Mc Guire <der.herr@hofr.at>
    Cc: zhangfx@lemote.com
    Cc: Wu Zhangjin <wuzhangjin@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/673/
    
    
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    69a7d1b3