Re: [RFC 1/3] perf jevents: Add support for parsing perchip/percore events

2020-07-07 Thread kajoljain
On 7/6/20 6:27 PM, Jiri Olsa wrote: > On Fri, Jul 03, 2020 at 11:50:28AM +0530, kajoljain wrote: > > SNIP > >> ] >> diff --git a/tools/perf/pmu-events/jevents.c >> b/tools/perf/pmu-events/jevents.c >> index fa86c5f997cc..dd2b14cc147c 100644 >> --- a/tools/perf/pmu-events/jevents.c >> +++ b/t

Re: [RFC 1/3] perf jevents: Add support for parsing perchip/percore events

2020-07-06 Thread Jiri Olsa
On Fri, Jul 03, 2020 at 11:50:28AM +0530, kajoljain wrote: SNIP > ] > diff --git a/tools/perf/pmu-events/jevents.c b/tools/perf/pmu-events/jevents.c > index fa86c5f997cc..dd2b14cc147c 100644 > --- a/tools/perf/pmu-events/jevents.c > +++ b/tools/perf/pmu-events/jevents.c > @@ -53,6 +53,23 @@ > i

Re: [RFC 1/3] perf jevents: Add support for parsing perchip/percore events

2020-07-05 Thread Ian Rogers
On Thu, Jul 2, 2020 at 11:20 PM kajoljain wrote: > > On 6/25/20 7:38 PM, Ian Rogers wrote: > > On Thu, Jun 25, 2020 at 4:47 AM Kajol Jain wrote: > >> > >> Set up the "PerChip" field so that perf knows they are > >> per chip events. > >> > >> Set up the "PerCore" field so that perf knows they ar

Re: [RFC 1/3] perf jevents: Add support for parsing perchip/percore events

2020-07-02 Thread kajoljain
On 6/25/20 7:38 PM, Ian Rogers wrote: > On Thu, Jun 25, 2020 at 4:47 AM Kajol Jain wrote: >> >> Set up the "PerChip" field so that perf knows they are >> per chip events. >> >> Set up the "PerCore" field so that perf knows they are >> per core events and add these fields to pmu_event structur

Re: [RFC 1/3] perf jevents: Add support for parsing perchip/percore events

2020-06-25 Thread Ian Rogers
On Thu, Jun 25, 2020 at 4:47 AM Kajol Jain wrote: > > Set up the "PerChip" field so that perf knows they are > per chip events. > > Set up the "PerCore" field so that perf knows they are > per core events and add these fields to pmu_event structure. > > Similar to the way we had "PerPkg field >

[RFC 1/3] perf jevents: Add support for parsing perchip/percore events

2020-06-25 Thread Kajol Jain
Set up the "PerChip" field so that perf knows they are per chip events. Set up the "PerCore" field so that perf knows they are per core events and add these fields to pmu_event structure. Similar to the way we had "PerPkg field to specify perpkg events. Signed-off-by: Kajol Jain --- tools/pe