From: Qiaowei Ren Date: Tue, 2 Aug 2016 18:43:35 +0000 (-0400) Subject: util: Add some comment details for virPerfEventType X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c2f061c86142cfb1210c02feadb691131b647372;p=libvirt.git util: Add some comment details for virPerfEventType Add to some details for the existing enum --- 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;