EVENT
#define EVENT(_name, _code) _name = _code,
EVENT(PM_CYC_ALT, 0x100f0)
EVENT(PM_CYC_INST_CMPL, 0x100f2)
EVENT(PM_FLOP_CMPL, 0x100f4)
EVENT(PM_L1_ITLB_MISS, 0x100f6)
EVENT(PM_NO_INST_AVAIL, 0x100f8)
EVENT(PM_LD_CMPL, 0x100fc)
EVENT(PM_INST_CMPL_ALT, 0x100fe)
EVENT(PM_ST_CMPL, 0x200f0)
EVENT(PM_INST_DISP, 0x200f2)
EVENT(PM_RUN_CYC, 0x200f4)
EVENT(PM_L1_DTLB_RELOAD, 0x200f6)
EVENT(PM_BR_TAKEN_CMPL, 0x200fa)
EVENT(PM_L1_ICACHE_MISS, 0x200fc)
EVENT(PM_L1_RELOAD_FROM_MEM, 0x200fe)
EVENT(PM_ST_MISS_L1, 0x300f0)
EVENT(PM_INST_DISP_ALT, 0x300f2)
EVENT(PM_BR_MISPREDICT, 0x300f6)
EVENT(PM_DTLB_MISS, 0x300fc)
EVENT(PM_DATA_FROM_L3MISS, 0x300fe)
EVENT(PM_LD_MISS_L1, 0x400f0)
EVENT(PM_CYC_INST_DISP, 0x400f2)
EVENT(PM_BR_MPRED_CMPL, 0x400f6)
EVENT(PM_RUN_INST_CMPL, 0x400fa)
EVENT(PM_ITLB_MISS, 0x400fc)
EVENT(PM_LD_NOT_CACHED, 0x400fe)
EVENT(PM_INST_CMPL, 0x500fa)
EVENT(PM_CYC, 0x600f4)
#undef EVENT
#define EVENT(_name, _code) enum{_name = _code}
#undef EVENT
#define EVENT(_name, _code) POWER_EVENT_ATTR(_name, _name);
#undef EVENT
#define EVENT(_name, _code) POWER_EVENT_PTR(_name),
#undef EVENT
#define EVENT(_name, _code) \
#undef EVENT
#define EVENT(_name, _code) _name = _code,
#undef EVENT
#define EVENT(_name, _code) _name = _code,
#undef EVENT
#define EVENT(_name, _code) enum{_name = _code}
#define EVENT(_name, _code) enum{_name = _code}
static void EVENT(const char *s,unsigned long a,unsigned long b)
#define EVENT(s,a,b)
#define EVENT 2
EVENT,
#define EVENT(_name, _code) enum{_name = _code}
EVENT = (1 << EVENT_NUM), /* DCAS, DTAS, or IFC has occurred */