lkml.org 
[lkml]   [2012]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/1] ftrace: fix function graph tracer
From
Date
On Fri, 2012-02-17 at 21:39 +0530, Rajesh Bhagat wrote:

> ---
> 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
> }

Nice catch! This should also go into stable. When I get back from the
conference I'll start getting it upstream.

Thanks,

-- Steve




\
 
 \ /
  Last update: 2012-02-17 18:25    [W:0.085 / U:2.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site