]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/x86/kernel/cpu/perf_event_intel_uncore.h
perf/x86/uncore: add hrtimer to SNB uncore IMC PMU
[linux-beck.git] / arch / x86 / kernel / cpu / perf_event_intel_uncore.h
index fbf45a0ebf9235a8748fe73989c92307b293142d..90236f0c94a90679506973efe6e56c51bfb9bb2f 100644 (file)
@@ -6,6 +6,7 @@
 
 #define UNCORE_PMU_NAME_LEN            32
 #define UNCORE_PMU_HRTIMER_INTERVAL    (60LL * NSEC_PER_SEC)
+#define UNCORE_SNB_IMC_HRTIMER_INTERVAL (5ULL * NSEC_PER_SEC)
 
 #define UNCORE_FIXED_EVENT             0xff
 #define UNCORE_PMC_IDX_MAX_GENERIC     8
@@ -492,6 +493,7 @@ struct intel_uncore_box {
        u64 hrtimer_duration; /* hrtimer timeout for this box */
        struct hrtimer hrtimer;
        struct list_head list;
+       struct list_head active_list;
        void *io_addr;
        struct intel_uncore_extra_reg shared_regs[0];
 };