From: Qiaowei Ren <qiaowei....@intel.com>

Add to some details for the existing enum

Signed-off-by: John Ferlan <jfer...@redhat.com>
---
 src/util/virperf.h | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/util/virperf.h b/src/util/virperf.h
index 7163410..bdafe03 100644
--- a/src/util/virperf.h
+++ b/src/util/virperf.h
@@ -24,10 +24,13 @@
 
 # include "virutil.h"
 
+/* Some Intel processor families introduced some RDT (Resource Director
+ * Technology) features to monitor or control shared resource based on
+ * the perf framework in the linux kernel. */
 typedef enum {
-    VIR_PERF_EVENT_CMT,
-    VIR_PERF_EVENT_MBMT,
-    VIR_PERF_EVENT_MBML,
+    VIR_PERF_EVENT_CMT,    /* Cache Monitoring Technology */
+    VIR_PERF_EVENT_MBMT,   /* Memory Bandwidth Monitoring Total */
+    VIR_PERF_EVENT_MBML,   /* Memory Bandwidth Monitor Limit for controller */
 
     VIR_PERF_EVENT_LAST
 } virPerfEventType;
-- 
2.7.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to