8 #ifndef __PERFMON_V2_H__ 9 #define __PERFMON_V2_H__ 12 #error "this file should never be included directly, use perfmon.h instead" 75 #ifndef PFMLIB_OLD_PFMV2 98 #ifdef PFMLIB_OLD_PFMV2 130 #define PFM_MAX_HW_PMDS 512 132 #define PFM_MAX_HW_PMDS 256 134 #define PFM_HW_PMD_BV PFM_BVSIZE( PFM_MAX_HW_PMDS ) 139 uint64_t msg_ovfl_pmds[PFM_HW_PMD_BV];
os_err_t pfm_getinfo_evtsets(int fd, pfarg_setinfo_t *info, int count)
os_err_t pfm_write_pmds(int fd, pfarg_pmd_t *pmds, int count)
uint64_t set_act_duration
os_err_t pfm_create_context(pfarg_ctx_t *ctx, char *smpl_name, void *smpl_arg, size_t smpl_size)
uint64_t reg_ovfl_switch_cnt
os_err_t pfm_delete_evtsets(int fd, pfarg_setdesc_t *setd, int count)
unsigned long long uint64_t
unsigned short int uint16_t
os_err_t pfm_write_pmcs(int fd, pfarg_pmc_t *pmcs, int count)
os_err_t pfm_unload_context(int fd)
os_err_t pfm_restart(int fd)
uint64_t reg_smpl_eventid
os_err_t pfm_create_evtsets(int fd, pfarg_setdesc_t *setd, int count)
os_err_t pfm_start(int fd, pfarg_start_t *start)
os_err_t pfm_load_context(int fd, pfarg_load_t *load)
os_err_t pfm_read_pmds(int fd, pfarg_pmd_t *pmds, int count)
uint64_t reg_last_reset_val
os_err_t pfm_stop(int fd)