Re: [PATCH v2 1/2] perf stat: Introduce struct runtime_stat_data

2021-01-14 Thread Namhyung Kim
On Thu, Jan 14, 2021 at 10:22 PM Jiri Olsa wrote: > > On Thu, Jan 14, 2021 at 12:25:39PM +0900, Namhyung Kim wrote: > > Hi Jiri, > > > > On Wed, Jan 13, 2021 at 8:19 PM Jiri Olsa wrote: > > > > > > On Tue, Jan 12, 2021 at 03:14:30PM +0900, Namhyung Kim wrote: > > > > To pass more info to the

Re: [PATCH v2 1/2] perf stat: Introduce struct runtime_stat_data

2021-01-14 Thread Jiri Olsa
On Thu, Jan 14, 2021 at 12:25:39PM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Wed, Jan 13, 2021 at 8:19 PM Jiri Olsa wrote: > > > > On Tue, Jan 12, 2021 at 03:14:30PM +0900, Namhyung Kim wrote: > > > To pass more info to the saved_value in the runtime_stat, add a new > > > struct

Re: [PATCH v2 1/2] perf stat: Introduce struct runtime_stat_data

2021-01-13 Thread Namhyung Kim
Hi Jiri, On Wed, Jan 13, 2021 at 8:19 PM Jiri Olsa wrote: > > On Tue, Jan 12, 2021 at 03:14:30PM +0900, Namhyung Kim wrote: > > To pass more info to the saved_value in the runtime_stat, add a new > > struct runtime_stat_data. Currently it only has 'ctx' field but later > > patch will add more.

Re: [PATCH v2 1/2] perf stat: Introduce struct runtime_stat_data

2021-01-13 Thread Jiri Olsa
On Tue, Jan 12, 2021 at 03:14:30PM +0900, Namhyung Kim wrote: > To pass more info to the saved_value in the runtime_stat, add a new > struct runtime_stat_data. Currently it only has 'ctx' field but later > patch will add more. > > Suggested-by: Andi Kleen > Signed-off-by: Namhyung Kim > --- >

[PATCH v2 1/2] perf stat: Introduce struct runtime_stat_data

2021-01-11 Thread Namhyung Kim
To pass more info to the saved_value in the runtime_stat, add a new struct runtime_stat_data. Currently it only has 'ctx' field but later patch will add more. Suggested-by: Andi Kleen Signed-off-by: Namhyung Kim --- tools/perf/util/stat-shadow.c | 346 +- 1