perf/x86: Fix shared register mutual exclusion enforcement
[firefly-linux-kernel-4.4.55.git] / arch / x86 / kernel / cpu / perf_event.h
index 4809f075d977df046662506bc37704916cc59c17..97e557bc4c91f8fe646421e29882c9dcfbf9a832 100644 (file)
@@ -63,11 +63,12 @@ struct event_constraint {
        int     flags;
 };
 /*
- * struct event_constraint flags
+ * struct hw_perf_event.flags flags
  */
 #define PERF_X86_EVENT_PEBS_LDLAT      0x1 /* ld+ldlat data address sampling */
 #define PERF_X86_EVENT_PEBS_ST         0x2 /* st data address sampling */
 #define PERF_X86_EVENT_PEBS_ST_HSW     0x4 /* haswell style st data sampling */
+#define PERF_X86_EVENT_COMMITTED       0x8 /* event passed commit_txn */
 
 struct amd_nb {
        int nb_id;  /* NorthBridge id */