From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH] xen: fix build failure if using perfc=y Date: Thu, 19 Feb 2015 17:15:54 +0000 Message-ID: <54E61A4A.1010901@citrix.com> References: <20150219171117.7452.29868.stgit@Solace.station> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150219171117.7452.29868.stgit@Solace.station> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli , Xen-devel Cc: Paul Durrant , Jan Beulich List-Id: xen-devel@lists.xenproject.org On 19/02/15 17:11, Dario Faggioli wrote: > by providing the definition of the {w,r}rmsr_tsc_msr counters, > used within Viridiam implementation. "Viridian" > > Signed-off-by: Dario Faggioli > Cc: Paul Durrant > CC: Jan Beulich > Cc: Andrew Cooper Reviewed-by: Andrew Cooper > --- > xen/include/xen/perfc_defn.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h > index 3ac7b45..db987d1 100644 > --- a/xen/include/xen/perfc_defn.h > +++ b/xen/include/xen/perfc_defn.h > @@ -53,4 +53,8 @@ PERFCOUNTER(vcpu_hot, "csched: vcpu_hot") > > PERFCOUNTER(need_flush_tlb_flush, "PG_need_flush tlb flushes") > > +/* Viridian counters */ > +PERFCOUNTER(mshv_wrmsr_tsc_msr, "viridian: wrmsr_tsc_msr") > +PERFCOUNTER(mshv_rdmsr_tsc_msr, "viridian: rdmsr_tsc_msr") > + > /*#endif*/ /* __XEN_PERFC_DEFN_H__ */ >