PAPI 7.1.0.0
Loading...
Searching...
No Matches
perfmon_ia64.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2001-2007 Hewlett-Packard Development Company, L.P.
3 * Contributed by Stephane Eranian <eranian@hpl.hp.com>
4 *
5 * This file should never be included directly, use
6 * <perfmon/perfmon.h> instead.
7 */
8
9#ifndef _PERFMON_IA64_H_
10#define _PERFMON_IA64_H_
11
12#define PFM_ARCH_MAX_PMCS (256+64) /* 256 HW 64 SW */
13#define PFM_ARCH_MAX_PMDS (256+64) /* 256 HW 64 SW */
14
15/*
16 * privilege level mask usage for ia-64:
17 *
18 * PFM_PLM0 = most privileged (kernel, hypervisor, ..)
19 * PFM_PLM1 = privilege level 1
20 * PFM_PLM2 = privilege level 2
21 * PFM_PLM3 = least privileged (user level)
22 */
23
24/*
25 * Itanium specific context flags
26 */
27#define PFM_ITA_FL_INSECURE 0x10000 /* force psr.sp=0 for non self-monitoring */
28
29/*
30 * Itanium specific event set flags
31 */
32#define PFM_ITA_SETFL_EXCL_INTR 0x10000 /* exclude interrupt triggered execution */
33#define PFM_ITA_SETFL_INTR_ONLY 0x20000 /* include only interrupt triggered execution */
34#define PFM_ITA_SETFL_IDLE_EXCL 0x40000 /* not stop monitoring in idle loop */
35
36/*
37 * compatibility for previous versions of the interface
38 */
40
41#endif /* _PERFMON_IA64_H_ */