lkml.org 
[lkml]   [2011]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: function_graph selftest fails with !DYNAMIC
From
Date
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".




\
 
 \ /
  Last update: 2011-11-12 01:23    [W:0.039 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site