diff options
Diffstat (limited to 'arch/s390/include/asm/perf_event.h')
-rw-r--r-- | arch/s390/include/asm/perf_event.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/s390/include/asm/perf_event.h b/arch/s390/include/asm/perf_event.h index 4eb444edbe49..7941968e12b4 100644 --- a/arch/s390/include/asm/perf_event.h +++ b/arch/s390/include/asm/perf_event.h | |||
@@ -1,8 +1,16 @@ | |||
1 | /* | 1 | /* |
2 | * Performance event support - s390 specific definitions. | 2 | * Performance event support - s390 specific definitions. |
3 | * | 3 | * |
4 | * Copyright 2009 Martin Schwidefsky, IBM Corporation. | 4 | * Copyright IBM Corp. 2009, 2012 |
5 | * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com> | ||
6 | * Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | ||
5 | */ | 7 | */ |
6 | 8 | ||
7 | /* Empty, just to avoid compiling error */ | 9 | #include <asm/cpu_mf.h> |
8 | 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 | ||