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-07-14 14:01:25 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-07-14 14:01:25 +0100
commit164567df7b1410c1e9f76d07d9ceac3ab6e30f3c (patch)
treeb651bf81ccf300b018b6332029484dd6d18fb83b /xen/include/xen/perfc_defn.h
parentf4a8a33f8ed4f483b9a3d52501c1a49301a354fd (diff)
downloadxen-164567df7b1410c1e9f76d07d9ceac3ab6e30f3c.tar.gz
xen-164567df7b1410c1e9f76d07d9ceac3ab6e30f3c.tar.bz2
xen-164567df7b1410c1e9f76d07d9ceac3ab6e30f3c.zip
[SVM] Add perfcounter svmexits array with correct size creation.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
Diffstat (limited to 'xen/include/xen/perfc_defn.h')
-rw-r--r--xen/include/xen/perfc_defn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h
index f2cf7b3388..ec477a72e3 100644
--- a/xen/include/xen/perfc_defn.h
+++ b/xen/include/xen/perfc_defn.h
@@ -30,6 +30,8 @@ PERFCOUNTER_ARRAY(exceptions, "exceptions", 32)
#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)
+#define SVM_PERF_EXIT_REASON_SIZE (1+136)
+PERFCOUNTER_ARRAY(svmexits, "SVMexits", SVM_PERF_EXIT_REASON_SIZE)
PERFCOUNTER_CPU(seg_fixups, "segmentation fixups")