Re: [PATCH 03/25] perf tests: Add framework for automatedperf_event_attr tests

From: Arnaldo Carvalho de Melo
Date: Wed Oct 31 2012 - 10:26:05 EST


Em Wed, Oct 31, 2012 at 12:01:20AM +0100, Jiri Olsa escreveu:
> On Tue, Oct 30, 2012 at 11:01:44PM +0100, Jiri Olsa wrote:
> > Adding automated test to check event's perf_event_attr values.
>
> SNIP
>
> > +
> > +void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu,
> > + int fd, int group_fd, unsigned long flags)
> > +{
> > + if (store_event(attr, pid, cpu, fd, group_fd, flags))
> > + die("test attr FAILED");
> > +}
>
> ahh crap, I forgot the errno value preservation fix..
>
> I'd send it later with another fix I have for perf stat or v2 if needed ;-)

Send just a v2 for this specific patch.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/