]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf_cpum_cf: Add support for counters available with IBM zEC12
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Mon, 15 Oct 2012 12:31:29 +0000 (14:31 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 17 Oct 2012 15:31:15 +0000 (17:31 +0200)
commita2c410b2f57037ae70c141390679ad13aad03028
tree4d669684a45787336f542fc5f48bba4b211096c8
parent58247eb5e3840d777cce3cadaab8994d9e1a3b2f
perf_cpum_cf: Add support for counters available with IBM zEC12

Increase the maximum number of available counters and check if
the hardware supports the counter.  Support is indicated by the
version of the CPU-measurement counter facility.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/perf_event.h
arch/s390/kernel/perf_cpum_cf.c