Re: [PATCH v1 0/3] perf: Support a new coresum event qualifier

From: Jin, Yao
Date: Fri Mar 15 2019 - 19:31:19 EST




On 3/16/2019 7:26 AM, Andi Kleen wrote:
Yes, the coresum's behavior is similar as --per-core option, just supports
at the event level. I'm OK with calling it 'per-core'.

For example,
perf stat -e cpu/event=0,umask=0x3,per-core=1/

Please use percore, the - would need to be escaped in metric expressions.

-Andi


Oh, yes, thanks for reminding. Will use 'percore' in next version.

Thanks
Jin Yao