Re: [PATCH v3 6/7] perf test: Improve pmu event metric testing

2020-05-19 Thread Arnaldo Carvalho de Melo
Em Tue, May 19, 2020 at 10:15:48PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, May 19, 2020 at 01:15:41PM -0700, Ian Rogers escreveu: > > On Tue, May 19, 2020 at 12:06 PM Arnaldo Carvalho de Melo > > errno != 0 for both cases as the man page notes suggest doing this. > > The tests using v

Re: [PATCH v3 6/7] perf test: Improve pmu event metric testing

2020-05-19 Thread Arnaldo Carvalho de Melo
Em Tue, May 19, 2020 at 01:15:41PM -0700, Ian Rogers escreveu: > On Tue, May 19, 2020 at 12:06 PM Arnaldo Carvalho de Melo > wrote: > > > > Em Fri, May 15, 2020 at 03:17:31PM -0700, Ian Rogers escreveu: > > > Break pmu-events test into 2 and add a test to verify that all pmu > > > metric

Re: [PATCH v3 6/7] perf test: Improve pmu event metric testing

2020-05-19 Thread Ian Rogers
On Tue, May 19, 2020 at 12:06 PM Arnaldo Carvalho de Melo wrote: > > Em Fri, May 15, 2020 at 03:17:31PM -0700, Ian Rogers escreveu: > > Break pmu-events test into 2 and add a test to verify that all pmu > > metric expressions simply parse. Try to parse all metric ids/events, > > skip/warn if

Re: [PATCH v3 6/7] perf test: Improve pmu event metric testing

2020-05-19 Thread Arnaldo Carvalho de Melo
Em Fri, May 15, 2020 at 03:17:31PM -0700, Ian Rogers escreveu: > Break pmu-events test into 2 and add a test to verify that all pmu > metric expressions simply parse. Try to parse all metric ids/events, > skip/warn if metrics for the current architecture fail to parse. To > support warning for a

[PATCH v3 6/7] perf test: Improve pmu event metric testing

2020-05-15 Thread Ian Rogers
Break pmu-events test into 2 and add a test to verify that all pmu metric expressions simply parse. Try to parse all metric ids/events, skip/warn if metrics for the current architecture fail to parse. To support warning for a skip, and an ability for a subtest to describe why it skips. Tested on