linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] perf test: Test 2 libpfm4 error cases
@ 2021-05-19 15:12 Ian Rogers
  2021-05-27 15:52 ` Ian Rogers
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Rogers @ 2021-05-19 15:12 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	Thomas Richter, linux-perf-users, linux-kernel
  Cc: eranian, Ian Rogers

Proposed in:
https://lore.kernel.org/lkml/20210517140931.2559364-1-tmricht@linux.ibm.com/

Signed-off-by: Ian Rogers <irogers@google.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] perf test: Test 2 libpfm4 error cases
  2021-05-19 15:12 [PATCH] perf test: Test 2 libpfm4 error cases Ian Rogers
@ 2021-05-27 15:52 ` Ian Rogers
  2021-05-27 16:26   ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Rogers @ 2021-05-27 15:52 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	Thomas Richter, linux-perf-users, LKML, Riccardo Mancini
  Cc: Stephane Eranian

On Wed, May 19, 2021 at 8:12 AM Ian Rogers <irogers@google.com> wrote:
>
> Proposed in:
> https://lore.kernel.org/lkml/20210517140931.2559364-1-tmricht@linux.ibm.com/
>
> Signed-off-by: Ian Rogers <irogers@google.com>

Ping.

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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] perf test: Test 2 libpfm4 error cases
  2021-05-27 15:52 ` Ian Rogers
@ 2021-05-27 16:26   ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2021-05-27 16:26 UTC (permalink / raw)
  To: Ian Rogers
  Cc: Peter Zijlstra, Ingo Molnar, Mark Rutland, Alexander Shishkin,
	Jiri Olsa, Namhyung Kim, Thomas Richter, linux-perf-users, LKML,
	Riccardo Mancini, Stephane Eranian

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@google.com> wrote:
> >
> > Proposed in:
> > https://lore.kernel.org/lkml/20210517140931.2559364-1-tmricht@linux.ibm.com/
> >
> > Signed-off-by: Ian Rogers <irogers@google.com>
> 
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-27 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 15:12 [PATCH] perf test: Test 2 libpfm4 error cases Ian Rogers
2021-05-27 15:52 ` Ian Rogers
2021-05-27 16:26   ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).