24 #ifndef __PFMLIB_CORE_H__ 25 #define __PFMLIB_CORE_H__ 41 #define PMU_CORE_NUM_FIXED_COUNTERS 3 42 #define PMU_CORE_NUM_GEN_COUNTERS 2 43 #define PMU_CORE_NUM_COUNTERS 5 46 unsigned long long val;
48 unsigned long sel_event_select : 8;
49 unsigned long sel_unit_mask : 8;
50 unsigned long sel_usr : 1;
51 unsigned long sel_os : 1;
52 unsigned long sel_edge : 1;
53 unsigned long sel_pc : 1;
54 unsigned long sel_int : 1;
55 unsigned long sel_res1 : 1;
56 unsigned long sel_en : 1;
57 unsigned long sel_inv : 1;
58 unsigned long sel_cnt_mask : 8;
59 unsigned long sel_res2 : 32;
68 #define PFM_CORE_SEL_INV 0x1 69 #define PFM_CORE_SEL_EDGE 0x2
unsigned long long uint64_t
int pfm_core_is_pebs(pfmlib_event_t *e)
#define PMU_CORE_NUM_COUNTERS