WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [SVM] Add perfcounter svmexits array with

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [SVM] Add perfcounter svmexits array with correct size creation.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Jul 2006 17:40:51 +0000
Delivery-date: Fri, 14 Jul 2006 10:45:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 078c08dc4b0a8c49943f954bf9dcbd62df203d79
# Parent  dc5f894d6834bea9f0f209133c43b62468d2cf20
[SVM] Add perfcounter svmexits array with correct size creation.

Signed-off-by: Tom Woller <thomas.woller@xxxxxxx>
---
 xen/arch/x86/hvm/svm/svm.c   |    2 +-
 xen/include/xen/perfc_defn.h |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff -r dc5f894d6834 -r 078c08dc4b0a xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c        Fri Jul 14 14:00:55 2006 +0100
+++ b/xen/arch/x86/hvm/svm/svm.c        Fri Jul 14 14:01:25 2006 +0100
@@ -2710,7 +2710,7 @@ asmlinkage void svm_vmexit_handler(struc
         domain_crash_synchronous();
     }
 
-    perfc_incra(vmexits, exit_reason);
+    perfc_incra(svmexits, exit_reason);
     eip = vmcb->rip;
 
 #ifdef SVM_EXTRA_DEBUG
diff -r dc5f894d6834 -r 078c08dc4b0a xen/include/xen/perfc_defn.h
--- a/xen/include/xen/perfc_defn.h      Fri Jul 14 14:00:55 2006 +0100
+++ b/xen/include/xen/perfc_defn.h      Fri Jul 14 14:01:25 2006 +0100
@@ -30,6 +30,8 @@ PERFCOUNTER_ARRAY(exceptions,           
 #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")
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [SVM] Add perfcounter svmexits array with correct size creation., Xen patchbot-unstable <=