Re: [PATCH] perf stat: Fix wrong skipping for per-die aggregation

2020-12-23 Thread Jin, Yao
On 12/24/2020 6:35 AM, Jiri Olsa wrote: On Wed, Dec 16, 2020 at 03:01:46PM +0800, Jin Yao wrote: Uncore becomes die-scope on Xeon Cascade Lake-AP and perf has supported --per-die aggregation yet. One issue is found in check_per_pkg() for uncore events running on AP system. On cascade Lake-AP

Re: [PATCH] perf stat: Fix wrong skipping for per-die aggregation

2020-12-23 Thread Jiri Olsa
On Wed, Dec 16, 2020 at 03:01:46PM +0800, Jin Yao wrote: > Uncore becomes die-scope on Xeon Cascade Lake-AP and perf has supported > --per-die aggregation yet. > > One issue is found in check_per_pkg() for uncore events running on > AP system. On cascade Lake-AP, we have: > > S0-D0 > S0-D1 > S1-D

[PATCH] perf stat: Fix wrong skipping for per-die aggregation

2020-12-15 Thread Jin Yao
Uncore becomes die-scope on Xeon Cascade Lake-AP and perf has supported --per-die aggregation yet. One issue is found in check_per_pkg() for uncore events running on AP system. On cascade Lake-AP, we have: S0-D0 S0-D1 S1-D0 S1-D1 But in check_per_pkg(), S0-D1 and S1-D1 are skipped because the ma