[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+jqyFA=zEuS6gW4fKc6G9uT-PS86H70+WwORCO5uCrnLRz=Ag@mail.gmail.com>
Date: Fri, 16 Mar 2012 10:36:02 +0530
From: Rajesh Bhagat <rajesh.lnx@...il.com>
To: Steven Rostedt <rostedt@...dmis.org>
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
Hello Steve,
Sorry this is the first time im doing this, so i just copied the patch
in gmail.
Please find the correct patch attached to this email, with 0
checkpatch.pl errors.
[bhagatr@...ux git]$ vi 0001-ftrace-fix-function-graph-tracer.patch
(reverse-i-search)`':
[bhagatr@...ux git]$ ./linux-2.6/scripts/checkpatch.pl
0001-ftrace-fix-function-graph-tracer.patch
total: 0 errors, 0 warnings, 9 lines checked
I will also try to send a V2 of this patch, as soon my "git
send-email" is up and running.
- Rajesh
On Tue, Mar 13, 2012 at 7:06 PM, Steven Rostedt <rostedt@...dmis.org> wrote:
>
>
> > 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
>
>
Download attachment "0001-ftrace-fix-function-graph-tracer.patch" of type "application/octet-stream" (1363 bytes)
Powered by blists - more mailing lists