[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1331645811.25686.661.camel@gandalf.stny.rr.com>
Date: Tue, 13 Mar 2012 09:36:51 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Rajesh Bhagat <rajesh.lnx@...il.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>,
Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] ftrace: fix function graph tracer
> Signed-off-by: Rajesh Bhagat <rajesh.lnx@...il.com>
> ---
> kernel/trace/ftrace.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
> diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
> index 683d559..dc2de98 100644
> --- a/kernel/trace/ftrace.c
> +++ b/kernel/trace/ftrace.c
> @@ -219,7 +219,8 @@ static void update_ftrace_function(void)
> #else
> __ftrace_trace_function = func;
> #endif
> - ftrace_trace_function = ftrace_test_stop_func;
> + ftrace_trace_function =
> + (func == ftrace_stub) ? func : ftrace_test_stop_func;
> #endif
> }
BTW, this patch has major whitespace issues. It does not apply.
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists