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>
Thu, 18 Oct 2012 15:50:09 +0000 (17:50 +0200)
commitf47586b24c43adadd19c7e3f532a601d6eed728d
tree673cd36fc6198d3d4f3a9bd0383b171974d94ad7
parentcec8546638dc634824b629e33968d6c68f8b07d6
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