[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xen: fix build when 'perfc=y'
# HG changeset patch # User Dario Faggioli <dario.faggioli@xxxxxxxxxx> # Date 1350990742 25200 # Node ID 6d54c3338c52ec3a8e671c13284a59a535a3273f # Parent 67c27013e191598543ccc1b8f8f1d533c7a5164b xen: fix build when 'perfc=y' Which was failing with this: viridian.c: In function ?wrmsr_viridian_regs?: viridian.c:254:1: error: ?PERFC_mshv_wrmsr_apic_msr? undeclared (first use in this function) viridian.c:254:1: note: each undeclared identifier is reported only once for each function it appears in viridian.c: In function ?rdmsr_viridian_regs?: viridian.c:305:1: error: ?PERFC_mshv_rdmsr_apic_msr? undeclared (first use in this function) as a consequence of 17b754cab7b0 using but not defining the counters. Signed-off-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx> Acked-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> Committed-by: Keir Fraser <keir@xxxxxxx> --- diff -r 67c27013e191 -r 6d54c3338c52 xen/include/asm-x86/perfc_defn.h --- a/xen/include/asm-x86/perfc_defn.h Tue Oct 23 04:10:54 2012 -0700 +++ b/xen/include/asm-x86/perfc_defn.h Tue Oct 23 04:12:22 2012 -0700 @@ -121,6 +121,7 @@ PERFCOUNTER(mshv_rdmsr_vp_index, 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_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") @@ -128,6 +129,7 @@ PERFCOUNTER(mshv_wrmsr_icr, 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(realmode_emulations, "realmode instructions emulated") PERFCOUNTER(realmode_exits, "vmexits from realmode") _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |