aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/perfc_defn.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-09 11:17:29 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-09 11:17:29 +0100
commite30a1abc93a1e03f71c5e88ac4a27de900150ba3 (patch)
tree4e755f129816d09fcbcf22f4cc48e846cb034af3 /xen/include/xen/perfc_defn.h
parent6a883b0d6a42592ba812461e41d46435b60c88a7 (diff)
downloadxen-e30a1abc93a1e03f71c5e88ac4a27de900150ba3.tar.gz
xen-e30a1abc93a1e03f71c5e88ac4a27de900150ba3.tar.bz2
xen-e30a1abc93a1e03f71c5e88ac4a27de900150ba3.zip
According to the April 2005 Intel Virtualization Technology Specification
(Appendix A1) indicates that there are 44 potential exit reason codes. Based upon this, increase the size of the PERFCOUNTER_ARRAY for vmexits. Signed-off-by: Ben Thomas (bthomas@virtualiron.com)
Diffstat (limited to 'xen/include/xen/perfc_defn.h')
-rw-r--r--xen/include/xen/perfc_defn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h
index 7feb1aba52..f2cf7b3388 100644
--- a/xen/include/xen/perfc_defn.h
+++ b/xen/include/xen/perfc_defn.h
@@ -26,7 +26,7 @@ PERFCOUNTER_ARRAY(snapshot_copies, "entries copied per snapshot",
PERFCOUNTER_ARRAY(hypercalls, "hypercalls", NR_hypercalls)
PERFCOUNTER_ARRAY(exceptions, "exceptions", 32)
-#define VMX_PERF_EXIT_REASON_SIZE 37
+#define VMX_PERF_EXIT_REASON_SIZE 44
#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)