24 #ifndef __PFMLIB_GEN_IA32_H__ 25 #define __PFMLIB_GEN_IA32_H__ 44 #define PMU_GEN_IA32_MAX_COUNTERS PFMLIB_MAX_PMCS 52 #define PMU_GEN_IA32_COUNTER_WIDTH 32 55 unsigned long long val;
57 unsigned long sel_event_select : 8;
58 unsigned long sel_unit_mask : 8;
59 unsigned long sel_usr : 1;
60 unsigned long sel_os : 1;
61 unsigned long sel_edge : 1;
62 unsigned long sel_pc : 1;
63 unsigned long sel_int : 1;
64 unsigned long sel_any : 1;
65 unsigned long sel_en : 1;
66 unsigned long sel_inv : 1;
67 unsigned long sel_cnt_mask : 8;
68 unsigned long sel_res2 : 32;
77 #define PFM_GEN_IA32_SEL_INV 0x1 78 #define PFM_GEN_IA32_SEL_EDGE 0x2 79 #define PFM_GEN_IA32_SEL_ANYTHR 0x4 #define PMU_GEN_IA32_MAX_COUNTERS
unsigned long long uint64_t