Re: [PATCH v4 0/4] perf: Support a new 'percore' event qualifier

From: Arnaldo Carvalho de Melo
Date: Wed May 15 2019 - 15:42:51 EST


Em Fri, Apr 12, 2019 at 09:59:46PM +0800, Jin Yao escreveu:
> The 'percore' event qualifier which sums up the event counts for both
> hardware threads in a core. For example,
>
> perf stat -e cpu/event=0,umask=0x3,percore=1/,cpu/event=0,umask=0x3/
>
> In this example, we count the event 'ref-cycles' per-core and per-CPU in
> one perf stat command-line.
>
> We can already support per-core counting with --per-core, but it's
> often useful to do this together with other metrics that are collected
> per CPU (per hardware thread). So this patch series supports this
> per-core counting on a event level.
>
> v4:
> ---
> Add percore qualifier to documantation.
> Rebase to latest perf/core branch

Thanks, applied.

- Arnaldo