28 #ifndef __PFMLIB_INTEL_ATOM_H__ 29 #define __PFMLIB_INTEL_ATOM_H__ 45 #define PMU_INTEL_ATOM_NUM_COUNTERS 5 48 unsigned long long val;
50 unsigned long sel_event_select : 8;
51 unsigned long sel_unit_mask : 8;
52 unsigned long sel_usr : 1;
53 unsigned long sel_os : 1;
54 unsigned long sel_edge : 1;
55 unsigned long sel_pc : 1;
56 unsigned long sel_int : 1;
57 unsigned long sel_any : 1;
58 unsigned long sel_en : 1;
59 unsigned long sel_inv : 1;
60 unsigned long sel_cnt_mask : 8;
61 unsigned long sel_res2 : 32;
70 #define PFM_INTEL_ATOM_SEL_INV 0x1 71 #define PFM_INTEL_ATOM_SEL_EDGE 0x2 72 #define PFM_INTEL_ATOM_SEL_ANYTHR 0x4
unsigned long long uint64_t
int pfm_intel_atom_has_pebs(pfmlib_event_t *e)
#define PMU_INTEL_ATOM_NUM_COUNTERS