16 #ifndef __perfmon_intel_uncore_h__ 17 #define __perfmon_intel_uncore_h__ 19 #define foreach_intel_uncore_unit_type \ 20 _ (IMC, "imc", "integrated Memory Controller (iMC)", "iMC%u/%u") \ 21 _ (UPI, "upi", "Ultra Path Interconnect (UPI)", "UPI%u/%u") 25 #define _(t, n, name, fmt) INTEL_UNCORE_UNIT_##t, 31 #define PERF_INTEL_CODE(event, umask, edge, any, inv, cmask) \ 32 ((event) | (umask) << 8 | (edge) << 18 | (any) << 21 | (inv) << 23 | \ 36 #define foreach_intel_uncore_event \ 37 _ (IMC, 0x04, 0x03, UNC_M_CAS_COUNT, RD, \ 38 "All DRAM Read CAS Commands issued (including underfills)") \ 39 _ (IMC, 0x04, 0x0c, UNC_M_CAS_COUNT, WR, \ 40 "All DRAM Write CAS commands issued") \ 41 _ (IMC, 0x04, 0x0f, UNC_M_CAS_COUNT, ALL, "All DRAM CAS commands issued") 45 #define _(unit, event, umask, name, suffix, desc) \ 46 INTEL_UNCORE_E_##unit##_##name##_##suffix, #define foreach_intel_uncore_unit_type
#define foreach_intel_uncore_event
perfmon_intel_uncore_event_index_t