1 #ifndef _PAPI_PERFMON_H 2 #define _PAPI_PERFMON_H 25 #include <sys/syscall.h> 26 #include <sys/types.h> 28 #include <sys/times.h> 29 #include <sys/ucontext.h> 30 #include <sys/ptrace.h> 31 #include "perfmon/pfmlib.h" 32 #include "perfmon/perfmon_dfl_smpl.h" 39 #define DEBUGCALL(a,b) { if (ISLEVEL(a)) { b; } } 41 #define DEBUGCALL(a,b) 48 #define MAX_COUNTERS PFMLIB_MAX_PMCS 49 #define MAX_COUNTER_TERMS PFMLIB_MAX_PMCS 61 pfmlib_input_param_t
in;
63 pfmlib_output_param_t
out;
69 pfarg_setdesc_t set[PFMLIB_MAX_PMDS];
71 pfarg_setinfo_t setinfo[PFMLIB_MAX_PMDS];
73 pfarg_pmc_t pc[PFMLIB_MAX_PMCS];
75 pfarg_pmd_t pd[PFMLIB_MAX_PMDS];
77 long long counts[PFMLIB_MAX_PMDS];
82 #if defined(USE_PROC_PTTIMER)
pfmlib_output_param_t out
pfmlib_event_t pfm_register_t
pfm_control_state_t cmp_control_state_t
pfm_context_t cmp_context_t
pfmlib_event_t pfm_register_t
pfm_reg_alloc_t cmp_reg_alloc_t
pfm_register_t cmp_register_t