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/
Home Products Support Community News


[Xen-devel] PATCH [resend]: improved perfcounter framework

To: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] PATCH [resend]: improved perfcounter framework
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Mon, 7 Aug 2006 11:04:57 +0200
Delivery-date: Mon, 07 Aug 2006 02:00:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5

I resend two patches for perfcounters.

xen-nperfc4.diffs provides hooks.  This is the same as previously posted, here 
is the comment:

[I'd like to use the perfc API to report counters not easily countable (such 
as the number of valid entries in a table.  Counting it on the fly may be 
very costly).
These hooks provide the basic infrastructure for that.
(empty hooks added for ia64 and powerpc, x86 hooks call ptwr_eip_stat_XX)]

xen-nperfc5.diffs removes array bounds constraint.  It is a simplified version 
of the previously posted patch.  The comment was:

[the current dom0_perfcounter hypercall has a limit on the number of values 
per counter (64).  On ia64 we'd like to use arrays bigger than this limit.
This patch removes this hard-limit: perfcounter descriptors and values are now 
passed by two distinct buffers.

This break the API compatibility.  However because DOM0_PERFCCONTROL is used 
only by xenperf and only by developpers the patch didn't change 

Tested on ia64.

Attachment: xen-nperfc4.diffs
Description: Text Data

Attachment: xen-nperfc5.diffs
Description: Text Data

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] PATCH [resend]: improved perfcounter framework, Tristan Gingold <=