Go to the documentation of this file.
24 #ifndef __PFMLIB_NHM_H__
25 #define __PFMLIB_NHM_H__
48 #define PMU_NHM_NUM_COUNTERS 16
51 unsigned long long val;
83 unsigned long jcc : 1;
103 #define PFM_NHM_SEL_INV 0x1
104 #define PFM_NHM_SEL_EDGE 0x2
105 #define PFM_NHM_SEL_ANYTHR 0x4
106 #define PFM_NHM_SEL_OCC_RST 0x8
118 #define PFM_NHM_LBR_JCC 0x4
119 #define PFM_NHM_LBR_NEAR_REL_CALL 0x8
120 #define PFM_NHM_LBR_NEAR_IND_CALL 0x10
121 #define PFM_NHM_LBR_NEAR_RET 0x20
122 #define PFM_NHM_LBR_NEAR_IND_JMP 0x40
123 #define PFM_NHM_LBR_NEAR_REL_JMP 0x80
124 #define PFM_NHM_LBR_FAR_BRANCH 0x100
125 #define PFM_NHM_LBR_ALL 0x1fc
142 uint64_t reserved[4];
unsigned long near_rel_jmp
int pfm_nhm_is_uncore(pfmlib_event_t *e)
int pfm_nhm_is_pebs(pfmlib_event_t *e)
unsigned long usel_cnt_mask
#define PMU_NHM_NUM_COUNTERS
unsigned int ld_lat_thres
unsigned long sel_cnt_mask
unsigned long near_ind_jmp
unsigned long near_rel_call
int pfm_nhm_data_src_desc(unsigned int val, char **desc)
unsigned long near_ind_call