summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/perf_event.h
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2012-10-15 14:31:29 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-10-18 17:50:09 +0200
commitf47586b24c43adadd19c7e3f532a601d6eed728d (patch)
tree673cd36fc6198d3d4f3a9bd0383b171974d94ad7 /arch/s390/include/asm/perf_event.h
parentcec8546638dc634824b629e33968d6c68f8b07d6 (diff)
downloadtalos-op-linux-f47586b24c43adadd19c7e3f532a601d6eed728d.tar.gz
talos-op-linux-f47586b24c43adadd19c7e3f532a601d6eed728d.zip
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>
Diffstat (limited to 'arch/s390/include/asm/perf_event.h')
-rw-r--r--arch/s390/include/asm/perf_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/perf_event.h b/arch/s390/include/asm/perf_event.h
index 7941968e12b4..5f0173a31693 100644
--- a/arch/s390/include/asm/perf_event.h
+++ b/arch/s390/include/asm/perf_event.h
@@ -9,7 +9,7 @@
#include <asm/cpu_mf.h>
/* CPU-measurement counter facility */
-#define PERF_CPUM_CF_MAX_CTR 160
+#define PERF_CPUM_CF_MAX_CTR 256
/* Per-CPU flags for PMU states */
#define PMU_F_RESERVED 0x1000
OpenPOWER on IntegriCloud