[PATCH 12/19] perf metric: Add events for the current list

2020-07-29 Thread Jiri Olsa
There's no need to iterate the whole list of groups, when adding new events. The currently created groups are the ones we want to add. Signed-off-by: Jiri Olsa Reviewed-by: Kajol Jain Acked-by: Ian Rogers Cc: Alexander Shishkin Cc: Andi Kleen Cc: John Garry Cc: Michael Petlan Cc: Namhyung

Re: [PATCH 12/19] perf metric: Add events for the current list

2020-07-28 Thread Arnaldo Carvalho de Melo
Em Sun, Jul 19, 2020 at 03:34:48PM -0700, Ian Rogers escreveu: > On Sun, Jul 19, 2020 at 11:14 AM Jiri Olsa wrote: > > > > There's no need to iterate the whole list of groups, > > when adding new events. The currently created groups > > are the ones we want to add. > > > > Signed-off-by: Jiri

Re: [PATCH 12/19] perf metric: Add events for the current list

2020-07-26 Thread kajoljain
On 7/20/20 4:04 AM, Ian Rogers wrote: > On Sun, Jul 19, 2020 at 11:14 AM Jiri Olsa wrote: >> >> There's no need to iterate the whole list of groups, >> when adding new events. The currently created groups >> are the ones we want to add. >> >> Signed-off-by: Jiri Olsa > > Acked-by: Ian Rogers

Re: [PATCH 12/19] perf metric: Add events for the current list

2020-07-19 Thread Ian Rogers
On Sun, Jul 19, 2020 at 11:14 AM Jiri Olsa wrote: > > There's no need to iterate the whole list of groups, > when adding new events. The currently created groups > are the ones we want to add. > > Signed-off-by: Jiri Olsa Acked-by: Ian Rogers Thanks, Ian > --- >

[PATCH 12/19] perf metric: Add events for the current list

2020-07-19 Thread Jiri Olsa
There's no need to iterate the whole list of groups, when adding new events. The currently created groups are the ones we want to add. Signed-off-by: Jiri Olsa --- tools/perf/util/metricgroup.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git