aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/perf_event.h
blob: 5f0173a31693b19700b8afa92b60db199bfcb749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Performance event support - s390 specific definitions.
 *
 * Copyright IBM Corp. 2009, 2012
 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>
 *	      Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
 */

#include <asm/cpu_mf.h>

/* CPU-measurement counter facility */
#define PERF_CPUM_CF_MAX_CTR		256

/* Per-CPU flags for PMU states */
#define PMU_F_RESERVED			0x1000
#define PMU_F_ENABLED			0x2000