From: Steven Rostedt <rostedt@goodmis.org>
To: Rabin Vincent <rabin@rab.in>
Cc: linux-kernel@vger.kernel.org
Subject: Re: function_graph selftest fails with !DYNAMIC
Date: Fri, 11 Nov 2011 19:20:24 -0500 [thread overview]
Message-ID: <1321057224.2346.0.camel@frodo> (raw)
In-Reply-To: <20111111165554.GA28752@debian>
On Fri, 2011-11-11 at 22:25 +0530, Rabin Vincent wrote:
> On Fri, Nov 04, 2011 at 09:44:29AM -0400, Steven Rostedt wrote:
> > On Wed, 2011-11-02 at 20:32 +0530, Rabin Vincent wrote:
> > > The function_graph selftest fails when CONFIG_DYNAMIC_FTRACE is not set
> > > (tested on x86-64) on current kernels:
> > >
> > > [ 0.300124] Testing tracer function: PASSED
> > > [ 0.446092] Testing tracer function_graph: .. no entries found ..FAILED!
> > >
> > > Bisecting goes back to this commit:
> > >
> > > 2b499381bc50ede01b3d8eab164ca2fad00655f0 is the first bad commit
> >
> > Your bisect is wrong. I ran it though ktest.pl and it gave me this
> > bisect commit:
>
> Odd. 2b499381bc50ede really doesn't work for me. 2b499381bc50ede^
> does, so the bisect to 2b499381bc50ede seems correct for my config.
>
> It appears I'm seeing a different problem, because ...
Hmm, strange, I'll take a look at this on Monday. Thanks.
-- Steve
>
> > The simple fix is:
> >
> > --- a/kernel/trace/ftrace.c
> > +++ b/kernel/trace/ftrace.c
> > @@ -151,7 +151,6 @@ void clear_ftrace_function(void)
> > ftrace_pid_function = ftrace_stub;
> > }
> >
> > -#undef CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST
> > #ifndef CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST
> > /*
> > * For those archs that do not test ftrace_trace_stop in their
>
> ... this doesn't seem to fix it. I've test 3.2-rc1 with this patch
> applied, and the self-test failure is still seen.
>
> Maybe there's some difference between our configs? I've attached mine.
> I run it with the "native linux KVM tool".
next prev parent reply other threads:[~2011-11-12 0:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-02 15:02 function_graph selftest fails with !DYNAMIC Rabin Vincent
2011-11-03 0:17 ` Steven Rostedt
2011-11-03 16:08 ` Steven Rostedt
2011-11-04 13:44 ` Steven Rostedt
2011-11-11 16:55 ` Rabin Vincent
2011-11-12 0:20 ` Steven Rostedt [this message]
2011-11-18 23:12 ` [tip:perf/core] ftrace: Remove force undef config value left for testing tip-bot for Steven Rostedt
2011-12-06 6:26 ` tip-bot for Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1321057224.2346.0.camel@frodo \
--to=rostedt@goodmis.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rabin@rab.in \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox