Re: [PATCH] perf test: Test 2 libpfm4 error cases

From: Arnaldo Carvalho de Melo
Date: Thu May 27 2021 - 12:26:57 EST


Em Thu, May 27, 2021 at 08:52:14AM -0700, Ian Rogers escreveu:
> On Wed, May 19, 2021 at 8:12 AM Ian Rogers <irogers@xxxxxxxxxx> wrote:
> >
> > Proposed in:
> > https://lore.kernel.org/lkml/20210517140931.2559364-1-tmricht@xxxxxxxxxxxxx/
> >
> > Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
>
> Ping.

Thanks, applied.

- Arnaldo


> Thanks!
> Ian
>
> > ---
> > tools/perf/tests/pfm.c | 10 ++++++++++
> > 1 file changed, 10 insertions(+)
> >
> > diff --git a/tools/perf/tests/pfm.c b/tools/perf/tests/pfm.c
> > index d4b0ef74defc..acd50944f6af 100644
> > --- a/tools/perf/tests/pfm.c
> > +++ b/tools/perf/tests/pfm.c
> > @@ -155,6 +155,16 @@ static int test__pfm_group(void)
> > .nr_events = 3,
> > .nr_groups = 1,
> > },
> > + {
> > + .events = "instructions}",
> > + .nr_events = 1,
> > + .nr_groups = 0,
> > + },
> > + {
> > + .events = "{{instructions}}",
> > + .nr_events = 0,
> > + .nr_groups = 0,
> > + },
> > };
> >
> > for (i = 0; i < ARRAY_SIZE(table); i++) {
> > --
> > 2.31.1.751.gd2f1c929bd-goog
> >

--

- Arnaldo