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

[Xen-devel] [PATCH] xen: fix build failure if using perfc=y

by providing the definition of the {w,r}rmsr_tsc_msr counters,
used within Viridiam implementation.

Signed-off-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx>
Cc: Paul Durrant <paul.durrant@xxxxxxxxxx>
CC: Jan Beulich <JBeulich@xxxxxxxx>
Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
 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__ */

Xen-devel mailing list



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