Re: [PATCH v3 1/4] perf: Add a 'percore' event qualifier

2019-04-10 Thread Jin, Yao
On 4/10/2019 8:54 PM, Arnaldo Carvalho de Melo wrote: Em Wed, Apr 10, 2019 at 09:36:41AM -0300, Arnaldo Carvalho de Melo escreveu: Em Tue, Mar 19, 2019 at 04:56:53PM +0800, Jin Yao escreveu: Add a 'percore' event qualifier, like cpu/event=0,umask=0x3,percore=1/, that sums up the event

Re: [PATCH v3 1/4] perf: Add a 'percore' event qualifier

2019-04-10 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 10, 2019 at 09:36:41AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Mar 19, 2019 at 04:56:53PM +0800, Jin Yao escreveu: > > Add a 'percore' event qualifier, like cpu/event=0,umask=0x3,percore=1/, > > that sums up the event counts for both hardware threads in a core. > > > > We

Re: [PATCH v3 1/4] perf: Add a 'percore' event qualifier

2019-04-10 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 19, 2019 at 04:56:53PM +0800, Jin Yao escreveu: > Add a 'percore' event qualifier, like cpu/event=0,umask=0x3,percore=1/, > that sums up the event counts for both hardware threads in a core. > > We can already do this with --per-core, but it's often useful to do > this together with

[PATCH v3 1/4] perf: Add a 'percore' event qualifier

2019-03-18 Thread Jin Yao
Add a 'percore' event qualifier, like cpu/event=0,umask=0x3,percore=1/, that sums up the event counts for both hardware threads in a core. We can already do this with --per-core, but it's often useful to do this together with other metrics that are collected per hardware thread. So we need to