From c2f061c86142cfb1210c02feadb691131b647372 Mon Sep 17 00:00:00 2001 From: Qiaowei Ren Date: Tue, 2 Aug 2016 14:43:35 -0400 Subject: [PATCH] util: Add some comment details for virPerfEventType Add to some details for the existing enum --- 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 716341019b..bdafe03bd5 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;