[PATCH v3 07/46] perf/core: add RDT Monitoring attributes to struct hw_perf_event
From: David Carrillo-Cisneros
Date: Sat Oct 29 2016 - 20:49:32 EST
Add attributes in hw_perf_event that are required by CMT and,
in the future, MBM.
Signed-off-by: David Carrillo-Cisneros <davidcc@xxxxxxxxxx>
---
include/linux/perf_event.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 345ec20..0202b32 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -139,6 +139,12 @@ struct hw_perf_event {
/* for tp_event->class */
struct list_head tp_list;
};
+#ifdef CONFIG_INTEL_RDT_M
+ struct { /* intel_cmt */
+ void *cmt_monr;
+ struct list_head cmt_list;
+ };
+#endif
struct { /* itrace */
int itrace_started;
};
--
2.8.0.rc3.226.g39d4020