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] [IA64] add perfcounter of dom0vp_phystoma

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] add perfcounter of dom0vp_phystomach and dom0vp_machtophys
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Oct 2006 12:10:38 +0000
Delivery-date: Thu, 26 Oct 2006 05:13:16 -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 awilliam@xxxxxxxxxxx
# Node ID 0c7e58ba4fbd48dae1d51aa80384db25d1eb57b7
# Parent  ce9816c14040d1dadf16a315a782e6e17e760c45
[IA64] add perfcounter of dom0vp_phystomach and dom0vp_machtophys

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/dom0_ops.c      |    2 ++
 xen/include/asm-ia64/perfc_defn.h |    4 ++++
 2 files changed, 6 insertions(+)

diff -r ce9816c14040 -r 0c7e58ba4fbd xen/arch/ia64/xen/dom0_ops.c
--- a/xen/arch/ia64/xen/dom0_ops.c      Mon Oct 02 21:37:39 2006 -0600
+++ b/xen/arch/ia64/xen/dom0_ops.c      Mon Oct 02 21:39:44 2006 -0600
@@ -256,6 +256,7 @@ do_dom0vp_op(unsigned long cmd,
         } else {
             ret = (ret & _PFN_MASK) >> PAGE_SHIFT;//XXX pte_pfn()
         }
+        perfc_incrc(dom0vp_phystomach);
         break;
     case IA64_DOM0VP_machtophys:
         if (!mfn_valid(arg0)) {
@@ -263,6 +264,7 @@ do_dom0vp_op(unsigned long cmd,
             break;
         }
         ret = get_gpfn_from_mfn(arg0);
+        perfc_incrc(dom0vp_machtophys);
         break;
     case IA64_DOM0VP_zap_physmap:
         ret = dom0vp_zap_physmap(d, arg0, (unsigned int)arg1);
diff -r ce9816c14040 -r 0c7e58ba4fbd xen/include/asm-ia64/perfc_defn.h
--- a/xen/include/asm-ia64/perfc_defn.h Mon Oct 02 21:37:39 2006 -0600
+++ b/xen/include/asm-ia64/perfc_defn.h Mon Oct 02 21:39:44 2006 -0600
@@ -130,3 +130,7 @@ PERFCOUNTER_CPU(guest_physmap_add_page, 
 PERFCOUNTER_CPU(guest_physmap_add_page,         "guest_physmap_add_page")
 PERFCOUNTER_CPU(guest_physmap_remove_page,      "guest_physmap_remove_page")
 PERFCOUNTER_CPU(domain_page_flush,              "domain_page_flush")
+
+// dom0vp
+PERFCOUNTER_CPU(dom0vp_phystomach,              "dom0vp_phystomach")
+PERFCOUNTER_CPU(dom0vp_machtophys,              "dom0vp_machtophys")

_______________________________________________
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] [IA64] add perfcounter of dom0vp_phystomach and dom0vp_machtophys, Xen patchbot-unstable <=