Re: [PATCH 4/4] perf test: Validate PERF_RECORD_ events andperf_sample fields

From: Arnaldo Carvalho de Melo
Date: Fri Dec 02 2011 - 14:07:10 EST


Em Fri, Dec 02, 2011 at 10:07:43AM -0700, David Ahern escreveu:
>
>
> On 12/02/2011 09:19 AM, Arnaldo Carvalho de Melo wrote:
> > +found_exit:
> > + if (!found_vdso_mmap) {
> > + pr_debug("PERF_RECORD_MMAP for %s missing!\n", "[vdso]");
> > + goto out_err;
> > + }
>
>
> Since this is a test why not show all missed events rather than punt to
> out_err on the first missed one?

Right! And it was so, pushed this one there.

- Arnaldo