Subject: [PATCH v2 25/31] arm64: Performance counters support

From: [email-masked] (Arnd Bergmann)
Date: Wed, 15 Aug 2012 15:11:11 +0000

On Tuesday 14 August 2012, Catalin Marinas wrote:
> From: Will Deacon <[email-masked]>
> 
> This patch adds support for the AArch64 performance counters.
> 
> Signed-off-by: Will Deacon <[email-masked]>
> Signed-off-by: Catalin Marinas <[email-masked]>
> ---
>  arch/arm64/include/asm/perf_event.h |   22 +
>  arch/arm64/include/asm/pmu.h        |   82 +++
>  arch/arm64/kernel/perf_event.c      | 1368 +++++++++++++++++++++++++++++++++++
>  tools/perf/perf.h                   |    6 +

Can you explain how AArch64 performance counters differ from the 32
bit ones? Do they work for AArch32 user space under AArch64 kernels?
Is it possible to share parts of the implementation with arch/arm?

	Arnd