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

[Xen-devel] [PATCH] Xenoprof passive domain support fixes

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Xenoprof passive domain support fixes
From: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
Date: Thu, 6 Jul 2006 20:15:15 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>
Delivery-date: Thu, 06 Jul 2006 20:15:44 -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
Thread-index: Acahc5FTBt/KOWTuTEact0++HxDp/A==
Thread-topic: [PATCH] Xenoprof passive domain support fixes
These patches provide some fixes for xenoprof passive domain support.

Currently, passive domain samples are being assigned to the wrong kernel
functions.
This patch fixes this problem. In addition the patch changes the
encoding of domain switch ESCAPE codes (marks used to separate samples
in oprofile  buffers associated with different domains). Instead of
using 2 codes, one  for START and one for END of passive domain samples,
a single escape CODE value is used to indicate a domain switch (no need
for a STOP followed by a START). Finally there some other minor style
fixes.

Note that these changes affect both the kernel and oprofile tools. 
The attached oprofile patch is against oprofile 0.8.2, since this was
the version used by the original Xiaowei patch. I will port the passive
domain support modifications to the latest oprofile 0.9.1 and post it as
soon as I have it.

Keir, please, apply the kernel patch to xen-unstable.

Thanks

Renato

Signed-off-by: Jose Renato Santos <jsantos@xxxxxxxxxx>

Attachment: xenoprof_passive_fixes-10647.patch
Description: xenoprof_passive_fixes-10647.patch

Attachment: oprofile_0.8.2_passive_fixes.patch
Description: oprofile_0.8.2_passive_fixes.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Xenoprof passive domain support fixes, Santos, Jose Renato G <=