From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Mon, 17 Nov 2014 11:24:47 +0000 Subject: [PATCH 00/11] arm: perf: add support for heterogeneous PMUs In-Reply-To: <1415377536-12841-1-git-send-email-mark.rutland@arm.com> References: <1415377536-12841-1-git-send-email-mark.rutland@arm.com> Message-ID: <20141117112447.GG18061@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Nov 07, 2014 at 04:25:25PM +0000, Mark Rutland wrote: > In systems with heterogeneous CPUs (e.g. big.LITTLE) the associated PMUs > also differ in terms of the supported set of events, the precise > behaviour of each of those events, and the number of event counters. > Thus it is not possible to expose these PMUs as a single logical PMU. > > Instead a logical PMU is created per CPU microarchitecture, which events > can target directly: > > $ perf stat \ > -e armv7_cortex_a7/config=0x11/ \ > -e armv7_cortex_a15/config=0x11/ \ > ./test > > Performance counter stats for './test': > > 7980455 armv7_cortex_a7/config=0x11/ [27.29%] > 9947934 armv7_cortex_a15/config=0x11/ [72.66%] > > 0.016734833 seconds time elapsed > > This series is based atop of my recent preparatory rework [1,2]. Modulo the patches I commented on, the ARM perf bits look fine to me. For those: Acked-by: Will Deacon However, you need to get the event_filter_match change into the core code before I can queue anything. Will