[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.2-testing] xen: fix build when 'perfc=y'


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-4.2-testing <patchbot@xxxxxxx>
  • Date: Thu, 25 Oct 2012 20:22:11 +0000
  • Delivery-date: Thu, 25 Oct 2012 20:22:19 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Dario Faggioli <dario.faggioli@xxxxxxxxxx>
# Date 1351172058 -7200
# Node ID 341cfc397548dfe9e89b8f4ab8ceb2cd5d6d05e9
# Parent  8c1fb247f39456e3b0540c09fb97233547f628e6
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>
xen-unstable changeset: 26098:6d54c3338c52
xen-unstable date: Tue Oct 23 11:12:22 UTC 2012
---


diff -r 8c1fb247f394 -r 341cfc397548 xen/include/asm-x86/perfc_defn.h
--- a/xen/include/asm-x86/perfc_defn.h  Thu Oct 25 15:33:39 2012 +0200
+++ b/xen/include/asm-x86/perfc_defn.h  Thu Oct 25 15:34:18 2012 +0200
@@ -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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.