xref: /linux/arch/x86/events/perf_event_flags.h (revision 06d07429858317ded2db7986113a9e0129cd599b)
188081cfbSAnshuman Khandual 
288081cfbSAnshuman Khandual /*
388081cfbSAnshuman Khandual  * struct hw_perf_event.flags flags
488081cfbSAnshuman Khandual  */
588081cfbSAnshuman Khandual PERF_ARCH(PEBS_LDLAT,		0x00001) /* ld+ldlat data address sampling */
688081cfbSAnshuman Khandual PERF_ARCH(PEBS_ST,		0x00002) /* st data address sampling */
788081cfbSAnshuman Khandual PERF_ARCH(PEBS_ST_HSW,		0x00004) /* haswell style datala, store */
888081cfbSAnshuman Khandual PERF_ARCH(PEBS_LD_HSW,		0x00008) /* haswell style datala, load */
988081cfbSAnshuman Khandual PERF_ARCH(PEBS_NA_HSW,		0x00010) /* haswell style datala, unknown */
1088081cfbSAnshuman Khandual PERF_ARCH(EXCL,			0x00020) /* HT exclusivity on counter */
1188081cfbSAnshuman Khandual PERF_ARCH(DYNAMIC,		0x00040) /* dynamic alloc'd constraint */
1288081cfbSAnshuman Khandual 			/*	0x00080	*/
1388081cfbSAnshuman Khandual PERF_ARCH(EXCL_ACCT,		0x00100) /* accounted EXCL event */
1488081cfbSAnshuman Khandual PERF_ARCH(AUTO_RELOAD,		0x00200) /* use PEBS auto-reload */
1588081cfbSAnshuman Khandual PERF_ARCH(LARGE_PEBS,		0x00400) /* use large PEBS */
1688081cfbSAnshuman Khandual PERF_ARCH(PEBS_VIA_PT,		0x00800) /* use PT buffer for PEBS */
1788081cfbSAnshuman Khandual PERF_ARCH(PAIR,			0x01000) /* Large Increment per Cycle */
1888081cfbSAnshuman Khandual PERF_ARCH(LBR_SELECT,		0x02000) /* Save/Restore MSR_LBR_SELECT */
1988081cfbSAnshuman Khandual PERF_ARCH(TOPDOWN,		0x04000) /* Count Topdown slots/metrics events */
2088081cfbSAnshuman Khandual PERF_ARCH(PEBS_STLAT,		0x08000) /* st+stlat data address sampling */
2188081cfbSAnshuman Khandual PERF_ARCH(AMD_BRS,		0x10000) /* AMD Branch Sampling */
2288081cfbSAnshuman Khandual PERF_ARCH(PEBS_LAT_HYBRID,	0x20000) /* ld and st lat for hybrid */
2385846b27SKan Liang PERF_ARCH(NEEDS_BRANCH_STACK,	0x40000) /* require branch stack setup */
24*33744916SKan Liang PERF_ARCH(BRANCH_COUNTERS,	0x80000) /* logs the counters in the extra space of each branch */
25