Re: [BUG] perf test 29 crashing

From: Namhyung Kim
Date: Tue Jun 28 2016 - 22:35:17 EST


Hi,

On Tue, Jun 28, 2016 at 11:52:09AM -0600, David Ahern wrote:
> On 6/28/16 10:59 AM, Arnaldo Carvalho de Melo wrote:
> > Em Tue, Jun 28, 2016 at 02:34:10PM +0200, Jiri Olsa escreveu:
> > > hi,
> > > I'm having test 29 crashing on latest Arnaldo's perf/core:
> > >
> > > [jolsa@krava perf]$ ./perf test hist
> > > 15: Test matching and linking multiple hists : Ok
> > > 25: Test filtering hist entries : Ok
> > > 28: Test output sorting of hist entries : Ok
> > > 29: Test cumulation of child hist entries : FAILED!
> > >
> > > I was hunting this, because I though it was caused by one
> > > of my local changes, but then realized it's public bug ;-)
> > >
> > > but can't find the reason so far..
> >
> > Huh?
> >
> > [acme@jouet linux]$ perf test 29
> > 29: Test cumulation of child hist entries : Ok
> > [acme@jouet linux]$ perf --version
> > perf version 4.7.rc5.g1c1e35c
> > [acme@jouet linux]$
> >
>
> If this helps break the tie:
>
> dsa@kenny:~/kernel.git$ /tmp/perf/perf test 29
> 29: Test cumulation of child hist entries : Ok
>
> dsa@kenny:~/kernel.git$ /tmp/perf/perf --version
> perf version 4.7.rc5.g02184c
>
> But running on net-next kernel from a few days ago + 1 local patch:
> dsa@kenny:~/kernel.git$ uname -r
> 4.7.0-rc2-00862-g23854048c919
>
> (I do get a few other failures)

Running latest acme/perf/core:

$ perf test hist
15: Test matching and linking multiple hists : Ok
25: Test filtering hist entries : Ok
28: Test output sorting of hist entries : Ok
29: Test cumulation of child hist entries : Ok
$ perf --version
perf version 4.6.g6d9c67


But I saw a build failure which was fixed by below patch: