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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Qiaowei Ren <qiaowei.ren@xxxxxxxxx>

Add to some details for the existing enum

Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
---
 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]