Re: [PATCH v3 3/4] arm64: arm_pmu: Add support for exclude_host/exclude_guest attributes

2018-12-03 Thread Andrew Murray
On Mon, Dec 03, 2018 at 03:04:14PM +, Will Deacon wrote: > Hi Andrew, > > On Thu, Nov 22, 2018 at 11:25:49AM +, Andrew Murray wrote: > > Add support for the :G and :H attributes in perf by handling the > > exclude_host/exclude_guest event attributes. > > > > We notify KVM of counters

Re: [PATCH v3 3/4] arm64: arm_pmu: Add support for exclude_host/exclude_guest attributes

2018-12-03 Thread Will Deacon
Hi Andrew, On Thu, Nov 22, 2018 at 11:25:49AM +, Andrew Murray wrote: > Add support for the :G and :H attributes in perf by handling the > exclude_host/exclude_guest event attributes. > > We notify KVM of counters that we wish to be enabled or disabled on > guest entry/exit and thus defer

[PATCH v3 3/4] arm64: arm_pmu: Add support for exclude_host/exclude_guest attributes

2018-11-22 Thread Andrew Murray
Add support for the :G and :H attributes in perf by handling the exclude_host/exclude_guest event attributes. We notify KVM of counters that we wish to be enabled or disabled on guest entry/exit and thus defer from starting or stopping :G events as per the events exclude_host attribute. With