Ingo Molnar | cdd6c48 | 2009-09-21 12:02:48 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Performance event support - s390 specific definitions. |
| 3 | * |
Hendrik Brueckner | 212188a | 2012-03-23 11:13:06 +0100 | [diff] [blame] | 4 | * Copyright IBM Corp. 2009, 2012 |
| 5 | * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com> |
| 6 | * Hendrik Brueckner <brueckner@linux.vnet.ibm.com> |
Ingo Molnar | cdd6c48 | 2009-09-21 12:02:48 +0200 | [diff] [blame] | 7 | */ |
| 8 | |
Hendrik Brueckner | 212188a | 2012-03-23 11:13:06 +0100 | [diff] [blame] | 9 | #include <asm/cpu_mf.h> |
Ingo Molnar | cdd6c48 | 2009-09-21 12:02:48 +0200 | [diff] [blame] | 10 | |
Hendrik Brueckner | 212188a | 2012-03-23 11:13:06 +0100 | [diff] [blame] | 11 | /* CPU-measurement counter facility */ |
Hendrik Brueckner | f47586b2 | 2012-10-15 14:31:29 +0200 | [diff] [blame] | 12 | #define PERF_CPUM_CF_MAX_CTR 256 |
Hendrik Brueckner | 212188a | 2012-03-23 11:13:06 +0100 | [diff] [blame] | 13 | |
| 14 | /* Per-CPU flags for PMU states */ |
| 15 | #define PMU_F_RESERVED 0x1000 |
| 16 | #define PMU_F_ENABLED 0x2000 |