[S390] perf: add support for s390x CPU counters
[linux-2.6.git] / arch / s390 / include / asm / perf_event.h
1 /*
2  * Performance event support - s390 specific definitions.
3  *
4  * Copyright IBM Corp. 2009, 2012
5  * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>
6  *            Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
7  */
8
9 #include <asm/cpu_mf.h>
10
11 /* CPU-measurement counter facility */
12 #define PERF_CPUM_CF_MAX_CTR            160
13
14 /* Per-CPU flags for PMU states */
15 #define PMU_F_RESERVED                  0x1000
16 #define PMU_F_ENABLED                   0x2000