|
PAPI 7.1.0.0
|

Go to the source code of this file.
Data Structures | |
| struct | pfarg_context_t |
| struct | pfarg_reg_t |
| struct | pfarg_dbreg_t |
| struct | pfarg_features_t |
| struct | pfm_ovfl_msg_t |
| struct | pfm_end_msg_t |
| struct | pfm_gen_msg_t |
| union | pfm_msg_t |
Macros | |
| #define | PFM_WRITE_PMCS 0x01 |
| #define | PFM_WRITE_PMDS 0x02 |
| #define | PFM_READ_PMDS 0x03 |
| #define | PFM_STOP 0x04 |
| #define | PFM_START 0x05 |
| #define | PFM_ENABLE 0x06 /* obsolete */ |
| #define | PFM_DISABLE 0x07 /* obsolete */ |
| #define | PFM_CREATE_CONTEXT 0x08 |
| #define | PFM_DESTROY_CONTEXT 0x09 /* obsolete use close() */ |
| #define | PFM_RESTART 0x0a |
| #define | PFM_PROTECT_CONTEXT 0x0b /* obsolete */ |
| #define | PFM_GET_FEATURES 0x0c /* obsolete: use /proc/sys/kernel/perfmon */ |
| #define | PFM_DEBUG 0x0d /* obsolete: use /proc/sys/kernel/perfmon/debug */ |
| #define | PFM_UNPROTECT_CONTEXT 0x0e /* obsolete */ |
| #define | PFM_GET_PMC_RESET_VAL 0x0f /* obsolete: use /proc/perfmon_mappings */ |
| #define | PFM_LOAD_CONTEXT 0x10 |
| #define | PFM_UNLOAD_CONTEXT 0x11 |
| #define | PFM_WRITE_IBRS 0x20 /* obsolete: use PFM_WRITE_PMCS[256-263] */ |
| #define | PFM_WRITE_DBRS 0x21 /* obsolete: use PFM_WRITE_PMCS[264-271] */ |
| #define | PFM_REG_RETFL_NOTAVAIL (1<<31) /* set if register is implemented but not available */ |
| #define | PFM_REG_RETFL_EINVAL (1<<30) /* set if register entry is invalid */ |
| #define | PFM_REG_RETFL_MASK (PFM_REG_RETFL_NOTAVAIL|PFM_REG_RETFL_EINVAL) |
| #define | PFM_REG_HAS_ERROR(flag) (((flag) & PFM_REG_RETFL_MASK) != 0) |
Typedefs | |
| typedef unsigned char | pfm_uuid_t[16] |
Functions | |
| int | perfmonctl (int fd, int cmd, void *arg, int narg) |
| #define PFM_CREATE_CONTEXT 0x08 |
Definition at line 36 of file perfmon_compat.h.
| #define PFM_DEBUG 0x0d /* obsolete: use /proc/sys/kernel/perfmon/debug */ |
Definition at line 41 of file perfmon_compat.h.
| #define PFM_DESTROY_CONTEXT 0x09 /* obsolete use close() */ |
Definition at line 37 of file perfmon_compat.h.
| #define PFM_DISABLE 0x07 /* obsolete */ |
Definition at line 35 of file perfmon_compat.h.
| #define PFM_ENABLE 0x06 /* obsolete */ |
Definition at line 34 of file perfmon_compat.h.
| #define PFM_GET_FEATURES 0x0c /* obsolete: use /proc/sys/kernel/perfmon */ |
Definition at line 40 of file perfmon_compat.h.
| #define PFM_GET_PMC_RESET_VAL 0x0f /* obsolete: use /proc/perfmon_mappings */ |
Definition at line 43 of file perfmon_compat.h.
| #define PFM_LOAD_CONTEXT 0x10 |
Definition at line 44 of file perfmon_compat.h.
| #define PFM_PROTECT_CONTEXT 0x0b /* obsolete */ |
Definition at line 39 of file perfmon_compat.h.
| #define PFM_READ_PMDS 0x03 |
Definition at line 31 of file perfmon_compat.h.
| #define PFM_REG_HAS_ERROR | ( | flag | ) | (((flag) & PFM_REG_RETFL_MASK) != 0) |
Definition at line 153 of file perfmon_compat.h.
| #define PFM_REG_RETFL_EINVAL (1<<30) /* set if register entry is invalid */ |
Definition at line 150 of file perfmon_compat.h.
| #define PFM_REG_RETFL_MASK (PFM_REG_RETFL_NOTAVAIL|PFM_REG_RETFL_EINVAL) |
Definition at line 151 of file perfmon_compat.h.
| #define PFM_REG_RETFL_NOTAVAIL (1<<31) /* set if register is implemented but not available */ |
Definition at line 149 of file perfmon_compat.h.
| #define PFM_RESTART 0x0a |
Definition at line 38 of file perfmon_compat.h.
| #define PFM_START 0x05 |
Definition at line 33 of file perfmon_compat.h.
| #define PFM_STOP 0x04 |
Definition at line 32 of file perfmon_compat.h.
| #define PFM_UNLOAD_CONTEXT 0x11 |
Definition at line 45 of file perfmon_compat.h.
| #define PFM_UNPROTECT_CONTEXT 0x0e /* obsolete */ |
Definition at line 42 of file perfmon_compat.h.
| #define PFM_WRITE_DBRS 0x21 /* obsolete: use PFM_WRITE_PMCS[264-271] */ |
Definition at line 51 of file perfmon_compat.h.
| #define PFM_WRITE_IBRS 0x20 /* obsolete: use PFM_WRITE_PMCS[256-263] */ |
Definition at line 50 of file perfmon_compat.h.
| #define PFM_WRITE_PMCS 0x01 |
Definition at line 29 of file perfmon_compat.h.
| #define PFM_WRITE_PMDS 0x02 |
Definition at line 30 of file perfmon_compat.h.
| typedef unsigned char pfm_uuid_t[16] |
Definition at line 24 of file perfmon_compat.h.