Re: [PATCH 5/5] perf stat: Fix duplicate PMU name for interval print

2018-04-24 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 24, 2018 at 03:18:34PM -0400, Liang, Kan escreveu: > On 4/24/2018 2:53 PM, Arnaldo Carvalho de Melo wrote: > > Em Tue, Apr 24, 2018 at 11:20:14AM -0700, kan.li...@linux.intel.com > > escreveu: > > > + if (strstr(counter->name, counter->pmu_name)) > > > + return;

Re: [PATCH 5/5] perf stat: Fix duplicate PMU name for interval print

2018-04-24 Thread Liang, Kan
On 4/24/2018 2:53 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Apr 24, 2018 at 11:20:14AM -0700, kan.li...@linux.intel.com escreveu: From: Kan Liang PMU name is printed repeatedly for interval print, for example: perf stat --no-merge -e 'unc_m_clockticks' -a -I 1000 # time

Re: [PATCH 5/5] perf stat: Fix duplicate PMU name for interval print

2018-04-24 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 24, 2018 at 11:20:14AM -0700, kan.li...@linux.intel.com escreveu: > From: Kan Liang > > PMU name is printed repeatedly for interval print, for example: > > perf stat --no-merge -e 'unc_m_clockticks' -a -I 1000 > # time counts unit events > 1.001053069

[PATCH 5/5] perf stat: Fix duplicate PMU name for interval print

2018-04-24 Thread kan . liang
From: Kan Liang PMU name is printed repeatedly for interval print, for example: perf stat --no-merge -e 'unc_m_clockticks' -a -I 1000 # time counts unit events 1.001053069243,702,144 unc_m_clockticks [uncore_imc_4] 1.001053069244,268,304