[libvirt] [PATCH v5 3/8] util: Add some comment details for virPerfEventType

John Ferlan jferlan at redhat.com
Wed Aug 3 22:30:50 UTC 2016


From: Qiaowei Ren <qiaowei.ren at intel.com>

Add to some details for the existing enum

Signed-off-by: John Ferlan <jferlan at 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




More information about the libvir-list mailing list