Messages in this thread | | | Date | Sat, 23 Jan 2010 08:04:51 +0100 | From | Ingo Molnar <> | Subject | Re: perf regression testing. was Re: [PATCH 1/2] perf symbols: Fix inverted logic for showing kallsyms as the source of symbols |
| |
* Arnaldo Carvalho de Melo <acme@infradead.org> wrote:
> Em Fri, Jan 22, 2010 at 05:43:28PM +0100, Mike Galbraith escreveu: > > On Fri, 2010-01-22 at 14:35 -0200, Arnaldo Carvalho de Melo wrote: > > > From: Arnaldo Carvalho de Melo <acme@redhat.com> > > > > > > Only if we parsed /proc/kallsyms (or a copy found in the buildid cache) > > > we should set the dso long name to "[kernel.kallsyms]". > > > > Yup, works just as well as my busted one :) > > yeah :-) > > I'll soon start working on 'perf regtest', to start accumulating regression > tests a la 'perf bench', as these silly bugs are worrying me...
Excellent, it's much needed!
The best example i know about is KVM: they have built an impressive regression test suite and add testcases for new regressions all the time.
The key is to have something simple to run, which developers (and maintainers) can run after every new perf commit or so.
Ingo
| |