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-ia64-devel

Re: [Xen-ia64-devel] PATCH: convert more privop_stat to perfc.

To: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Subject: Re: [Xen-ia64-devel] PATCH: convert more privop_stat to perfc.
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Tue, 8 Aug 2006 16:27:58 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 08 Aug 2006 00:28:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200608041406.54525.Tristan.Gingold@xxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200608041406.54525.Tristan.Gingold@xxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Hi Tristan.
Is the following accidental or intentional?


diff -r 6c4b7669876b -r b23585cd4e70 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Fri Aug 04 11:51:09 2006 +0200
+++ b/xen/arch/ia64/xen/domain.c        Fri Aug 04 12:14:16 2006 +0200
@@ -136,7 +136,6 @@ void context_switch(struct vcpu *prev, s
     uint64_t pta;
 
     local_irq_save(spsr);
-    perfc_incrc(context_switch);
 
     __ia64_save_fpu(prev->arch._thread.fph);
     __ia64_load_fpu(next->arch._thread.fph);

diff -r 6c4b7669876b -r b23585cd4e70 xen/include/asm-ia64/perfc_defn.h
--- a/xen/include/asm-ia64/perfc_defn.h Fri Aug 04 11:51:09 2006 +0200
+++ b/xen/include/asm-ia64/perfc_defn.h Fri Aug 04 12:14:16 2006 +0200
...
-PERFCOUNTER_CPU(context_switch,                "context switch")
+PERFCOUNTER_CPU(lazy_cover,             "lazy cover")
...



On Fri, Aug 04, 2006 at 02:06:54PM +0200, Tristan Gingold wrote:
> Hi,
> 
> this patch convert more privop_stat to perfc.
> I hope to remove all the privop_stat as soon as all the perfc patches are 
> integrated.
> I also plan to write an ia64 xenperf to get a nicer output.
> 
> Tested by compiling w and w/o perfc=y.
> 
> Tristan.


> _______________________________________________
> Xen-ia64-devel mailing list
> Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-ia64-devel

-- 
yamahata

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

<Prev in Thread] Current Thread [Next in Thread>