Re: [PATCH] arm64: perf: Add general hardware LLC events for PMUv3

2020-09-07 Thread Will Deacon
On Tue, 11 Aug 2020 13:35:05 +0800, Leo Yan wrote: > This patch is to add the general hardware last level cache (LLC) events > for PMUv3: one event is for LLC access and another is for LLC miss. > > With this change, perf tool can support last level cache profiling, > below is an example to demons

[PATCH] arm64: perf: Add general hardware LLC events for PMUv3

2020-08-10 Thread Leo Yan
This patch is to add the general hardware last level cache (LLC) events for PMUv3: one event is for LLC access and another is for LLC miss. With this change, perf tool can support last level cache profiling, below is an example to demonstrate the usage on Arm64: $ perf stat -e LLC-load-misses -