perf, intel: Try alternative OFFCORE encodings
[pandora-kernel.git] / arch / x86 / kernel / cpu / perf_event.c
index 583f311..c53d433 100644 (file)
@@ -327,9 +327,12 @@ struct x86_pmu {
         * Extra registers for events
         */
        struct extra_reg *extra_regs;
-       bool regs_no_ht_sharing;
+       unsigned int er_flags;
 };
 
+#define ERF_NO_HT_SHARING      1
+#define ERF_HAS_RSP_1          2
+
 static struct x86_pmu x86_pmu __read_mostly;
 
 static DEFINE_PER_CPU(struct cpu_hw_events, cpu_hw_events) = {