24 #ifndef __PFMLIB_I386_P6_H__ 25 #define __PFMLIB_I386_P6_H__ 42 #define PMU_I386_P6_NUM_COUNTERS 2 43 #define PMU_I386_P6_NUM_PERFSEL 2 44 #define PMU_I386_P6_NUM_PERFCTR 2 45 #define PMU_I386_P6_COUNTER_WIDTH 32 55 unsigned long sel_event_mask : 8;
56 unsigned long sel_unit_mask : 8;
57 unsigned long sel_usr : 1;
58 unsigned long sel_os : 1;
59 unsigned long sel_edge : 1;
60 unsigned long sel_pc : 1;
61 unsigned long sel_int : 1;
62 unsigned long sel_res1 : 1;
63 unsigned long sel_en : 1;
64 unsigned long sel_inv : 1;
65 unsigned long sel_cnt_mask : 8;
73 unsigned long ctr_count : 32;
74 unsigned long ctr_res1 : 32;
90 #define PFM_I386_P6_SEL_INV 0x1 91 #define PFM_I386_P6_SEL_EDGE 0x2
unsigned long long uint64_t
pfm_i386_p6_cnt_mask_t cnt_mask
#define PMU_I386_P6_NUM_COUNTERS