Re: [PATCH v6 3/5] perf jevents: Add support for parsing perchip/percore events

2020-09-01 Thread kajoljain
On 8/31/20 2:14 PM, Jiri Olsa wrote: > On Thu, Aug 27, 2020 at 06:39:56PM +0530, Kajol Jain wrote: >> Initially, every time we want to add new terms like chip, core thread etc, >> we need to create corrsponding fields in pmu_events and event struct. >> This patch adds an enum called

Re: [PATCH v6 3/5] perf jevents: Add support for parsing perchip/percore events

2020-08-31 Thread Jiri Olsa
On Thu, Aug 27, 2020 at 06:39:56PM +0530, Kajol Jain wrote: > Initially, every time we want to add new terms like chip, core thread etc, > we need to create corrsponding fields in pmu_events and event struct. > This patch adds an enum called 'aggr_mode_class' which store all these > aggregation

[PATCH v6 3/5] perf jevents: Add support for parsing perchip/percore events

2020-08-27 Thread Kajol Jain
Initially, every time we want to add new terms like chip, core thread etc, we need to create corrsponding fields in pmu_events and event struct. This patch adds an enum called 'aggr_mode_class' which store all these aggregation like perchip/percore. It also adds new field 'aggr_mode' to capture