[PATCH 03/19] perf metric: Change expr__get_id to return struct expr_id_data

2020-07-29 Thread Jiri Olsa
Changing expr__get_id to use and return struct expr_id_data pointer as value for the ID. This way we can access data other than value for given ID in following changes. Signed-off-by: Jiri Olsa Reviewed-by: Kajol Jain Acked-by: Ian Rogers Cc: Alexander Shishkin Cc: Andi Kleen Cc: John Garry

Re: [PATCH 03/19] perf metric: Change expr__get_id to return struct expr_id_data

2020-07-28 Thread Arnaldo Carvalho de Melo
Em Sun, Jul 26, 2020 at 02:47:00PM +0530, kajoljain escreveu: > > > On 7/19/20 11:43 PM, Jiri Olsa wrote: > > Changing expr__get_id to use and return struct expr_id_data > > pointer as value for the ID. This way we can access data other > > than value for given ID in following changes. > > > >

Re: [PATCH 03/19] perf metric: Change expr__get_id to return struct expr_id_data

2020-07-26 Thread kajoljain
On 7/19/20 11:43 PM, Jiri Olsa wrote: > Changing expr__get_id to use and return struct expr_id_data > pointer as value for the ID. This way we can access data other > than value for given ID in following changes. > > Acked-by: Ian Rogers > Signed-off-by: Jiri Olsa > --- Reviewed-By : Kajol

[PATCH 03/19] perf metric: Change expr__get_id to return struct expr_id_data

2020-07-19 Thread Jiri Olsa
Changing expr__get_id to use and return struct expr_id_data pointer as value for the ID. This way we can access data other than value for given ID in following changes. Acked-by: Ian Rogers Signed-off-by: Jiri Olsa --- tools/perf/util/expr.c | 10 +++--- tools/perf/util/expr.h | 3 ++-