Re: [PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-05-07 Thread Ian Rogers
On Thu, May 7, 2020 at 9:46 AM Arnaldo Carvalho de Melo wrote: > > Em Thu, Apr 30, 2020 at 09:38:34PM +0800, Jin, Yao escreveu: > > Hi John, Jiri, > > > > On 4/30/2020 7:48 PM, John Garry wrote: > > > On 30/04/2020 12:15, Jiri Olsa wrote: > > > > > > + > > > > > > > On Thu, Apr 30, 2020 at

Re: [PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-05-07 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 30, 2020 at 09:38:34PM +0800, Jin, Yao escreveu: > Hi John, Jiri, > > On 4/30/2020 7:48 PM, John Garry wrote: > > On 30/04/2020 12:15, Jiri Olsa wrote: > > > > + > > > > > On Thu, Apr 30, 2020 at 09:54:18AM +0100, John Garry wrote: > > > > On 30/04/2020 09:45, Jiri Olsa wrote: > > >

Re: [PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-05-07 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 30, 2020 at 10:45:29AM +0200, Jiri Olsa escreveu: > On Thu, Apr 30, 2020 at 08:36:18AM +0800, Jin Yao wrote: > > A big uncore event group is split into multiple small groups which > > only include the uncore events from the same PMU. This has been > > supported in the commit

Re: [PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-05-06 Thread Arnaldo Carvalho de Melo
Em Wed, May 06, 2020 at 03:45:59PM -0700, Ian Rogers escreveu: > On Thu, Apr 30, 2020 at 8:33 AM Jiri Olsa wrote: > > > > On Thu, Apr 30, 2020 at 09:45:14PM +0800, Jin, Yao wrote: > > > Hi Jiri, > > > > > > On 4/30/2020 4:45 PM, Jiri Olsa wrote: > > > > On Thu, Apr 30, 2020 at 08:36:18AM +0800,

Re: [PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-05-06 Thread Ian Rogers
On Thu, Apr 30, 2020 at 8:33 AM Jiri Olsa wrote: > > On Thu, Apr 30, 2020 at 09:45:14PM +0800, Jin, Yao wrote: > > Hi Jiri, > > > > On 4/30/2020 4:45 PM, Jiri Olsa wrote: > > > On Thu, Apr 30, 2020 at 08:36:18AM +0800, Jin Yao wrote: > > > > A big uncore event group is split into multiple small

Re: [PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-04-30 Thread Jiri Olsa
On Thu, Apr 30, 2020 at 09:45:14PM +0800, Jin, Yao wrote: > Hi Jiri, > > On 4/30/2020 4:45 PM, Jiri Olsa wrote: > > On Thu, Apr 30, 2020 at 08:36:18AM +0800, Jin Yao wrote: > > > A big uncore event group is split into multiple small groups which > > > only include the uncore events from the same

Re: [PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-04-30 Thread Jin, Yao
Hi Jiri, On 4/30/2020 4:45 PM, Jiri Olsa wrote: On Thu, Apr 30, 2020 at 08:36:18AM +0800, Jin Yao wrote: A big uncore event group is split into multiple small groups which only include the uncore events from the same PMU. This has been supported in the commit 3cdc5c2cb924a ("perf parse-events:

Re: [PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-04-30 Thread Jin, Yao
Hi John, Jiri, On 4/30/2020 7:48 PM, John Garry wrote: On 30/04/2020 12:15, Jiri Olsa wrote: + On Thu, Apr 30, 2020 at 09:54:18AM +0100, John Garry wrote: On 30/04/2020 09:45, Jiri Olsa wrote: On Thu, Apr 30, 2020 at 08:36:18AM +0800, Jin Yao wrote: A big uncore event group is split into

Re: [PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-04-30 Thread John Garry
On 30/04/2020 12:15, Jiri Olsa wrote: + On Thu, Apr 30, 2020 at 09:54:18AM +0100, John Garry wrote: On 30/04/2020 09:45, Jiri Olsa wrote: On Thu, Apr 30, 2020 at 08:36:18AM +0800, Jin Yao wrote: A big uncore event group is split into multiple small groups which only include the uncore

Re: [PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-04-30 Thread Jiri Olsa
On Thu, Apr 30, 2020 at 09:54:18AM +0100, John Garry wrote: > On 30/04/2020 09:45, Jiri Olsa wrote: > > On Thu, Apr 30, 2020 at 08:36:18AM +0800, Jin Yao wrote: > > > A big uncore event group is split into multiple small groups which > > > only include the uncore events from the same PMU. This has

Re: [PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-04-30 Thread John Garry
On 30/04/2020 09:45, Jiri Olsa wrote: On Thu, Apr 30, 2020 at 08:36:18AM +0800, Jin Yao wrote: A big uncore event group is split into multiple small groups which only include the uncore events from the same PMU. This has been supported in the commit 3cdc5c2cb924a ("perf parse-events: Handle

Re: [PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-04-30 Thread Jiri Olsa
On Thu, Apr 30, 2020 at 08:36:18AM +0800, Jin Yao wrote: > A big uncore event group is split into multiple small groups which > only include the uncore events from the same PMU. This has been > supported in the commit 3cdc5c2cb924a ("perf parse-events: Handle > uncore event aliases in small groups

[PATCH] perf parse-events: Use strcmp to compare the PMU name

2020-04-29 Thread Jin Yao
A big uncore event group is split into multiple small groups which only include the uncore events from the same PMU. This has been supported in the commit 3cdc5c2cb924a ("perf parse-events: Handle uncore event aliases in small groups properly"). If the event's PMU name starts to repeat, it must