Re: [PATCH 04/13 v4] perf tools: Replace aggregation ID with a struct

2020-11-17 Thread James Clark
On 15/11/2020 23:17, Jiri Olsa wrote: > On Fri, Nov 13, 2020 at 07:26:45PM +0200, James Clark wrote: > > SNIP > >> @@ -754,7 +766,7 @@ static void print_aggr_thread(struct perf_stat_config >> *config, >> FILE *output = config->output; >> int nthreads = perf_thread_map__nr(counter->c

Re: [PATCH 04/13 v4] perf tools: Replace aggregation ID with a struct

2020-11-15 Thread Jiri Olsa
On Fri, Nov 13, 2020 at 07:26:45PM +0200, James Clark wrote: SNIP > @@ -754,7 +766,7 @@ static void print_aggr_thread(struct perf_stat_config > *config, > FILE *output = config->output; > int nthreads = perf_thread_map__nr(counter->core.threads); > int ncpus = perf_cpu_map__nr(

[PATCH 04/13 v4] perf tools: Replace aggregation ID with a struct

2020-11-13 Thread James Clark
Replace all occurences of the usage of int with the new struct cpu_aggr_id. No functional changes. Signed-off-by: James Clark Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Thomas Richter Cc: John