aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/perfc_defn.h
diff options
context:
space:
mode:
authoriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>2005-02-12 00:41:23 +0000
committeriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>2005-02-12 00:41:23 +0000
commite8a790c9aae4f77b2847ca59836c4ac62cb04c8e (patch)
tree2d196d83581ec23a2f71b8cc1f3b9e927cfe4cfa /xen/include/xen/perfc_defn.h
parent0e05a6b2c7dbe5940f3af8275a36fba6859bfe60 (diff)
downloadxen-e8a790c9aae4f77b2847ca59836c4ac62cb04c8e.tar.gz
xen-e8a790c9aae4f77b2847ca59836c4ac62cb04c8e.tar.bz2
xen-e8a790c9aae4f77b2847ca59836c4ac62cb04c8e.zip
bitkeeper revision 1.1159.259.1 (420d50b3Mu97o7HHZsGGVPlv3ORCOw)
Some VT-x software perf counters. Signed-off-by: ian.pratt@cl.cam.ac.uk
Diffstat (limited to 'xen/include/xen/perfc_defn.h')
-rw-r--r--xen/include/xen/perfc_defn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h
index f6868d78b9..ba369f3603 100644
--- a/xen/include/xen/perfc_defn.h
+++ b/xen/include/xen/perfc_defn.h
@@ -30,3 +30,8 @@ PERFCOUNTER_CPU( shadow_update_va_fail, "shadow_update_va_fail" )
/* STATUS counters do not reset when 'P' is hit */
PERFSTATUS( shadow_l2_pages, "current # shadow L2 pages" )
PERFSTATUS( shadow_l1_pages, "current # shadow L1 pages" )
+
+#define VMX_PERF_EXIT_REASON_SIZE 37
+#define VMX_PERF_VECTOR_SIZE 0x20
+PERFCOUNTER_ARRAY(vmexits, "vmexits", VMX_PERF_EXIT_REASON_SIZE )
+PERFCOUNTER_ARRAY(cause_vector, "cause vector", VMX_PERF_VECTOR_SIZE )