From 24b2b8dea180098a3acc809a91cde6c0cc4c8607 Mon Sep 17 00:00:00 2001 From: Dario Faggioli Date: Fri, 20 Feb 2015 16:21:10 +0100 Subject: [PATCH] fix build failure if using perfc=y by providing the definition of the {w,r}rmsr_tsc_msr counters, used within Viridian implementation. Signed-off-by: Dario Faggioli --- xen/include/asm-x86/perfc_defn.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/include/asm-x86/perfc_defn.h b/xen/include/asm-x86/perfc_defn.h index 170da006a4..9ef092e793 100644 --- a/xen/include/asm-x86/perfc_defn.h +++ b/xen/include/asm-x86/perfc_defn.h @@ -125,6 +125,7 @@ PERFCOUNTER(mshv_rdmsr_icr, "MS Hv rdmsr icr") PERFCOUNTER(mshv_rdmsr_tpr, "MS Hv rdmsr tpr") PERFCOUNTER(mshv_rdmsr_apic_assist, "MS Hv rdmsr APIC assist") PERFCOUNTER(mshv_rdmsr_apic_msr, "MS Hv rdmsr APIC msr") +PERFCOUNTER(mshv_rdmsr_tsc_msr, "MS Hv rdmsr TSC msr") PERFCOUNTER(mshv_wrmsr_osid, "MS Hv wrmsr Guest OS ID") PERFCOUNTER(mshv_wrmsr_hc_page, "MS Hv wrmsr hypercall page") PERFCOUNTER(mshv_wrmsr_vp_index, "MS Hv wrmsr vp index") @@ -133,6 +134,7 @@ PERFCOUNTER(mshv_wrmsr_tpr, "MS Hv wrmsr tpr") PERFCOUNTER(mshv_wrmsr_eoi, "MS Hv wrmsr eoi") PERFCOUNTER(mshv_wrmsr_apic_assist, "MS Hv wrmsr APIC assist") PERFCOUNTER(mshv_wrmsr_apic_msr, "MS Hv wrmsr APIC msr") +PERFCOUNTER(mshv_wrmsr_tsc_msr, "MS Hv wrmsr TSC msr") PERFCOUNTER(realmode_emulations, "realmode instructions emulated") PERFCOUNTER(realmode_exits, "vmexits from realmode") -- 2.39.5