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] Xenoprof oprofile patch update

To: <joserenato.santos@xxxxxx>, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Subject: [Xen-devel] Xenoprof oprofile patch update
From: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>
Date: Tue, 23 Aug 2005 15:17:20 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 23 Aug 2005 07:16:05 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcWnsrMn4BCj2JutTl6XlpK7ywSKkw==
Thread-topic: Xenoprof oprofile patch update

Renato,

As we know, your patch can only treat passive domain samples as a whole, without any further symbol mapping. We did some enhancement to map IP samples of passive domains (VMX or domU) to Xen/kernel symbol table.

 

Not much update of the other 2 patches, just found 3 small bugs.

1.     in linux-2.6.12-xen0/driver/oprofile/cpu_buffer.c log_sample() line 200:

-if (cpu_mode > CPU_MODE_XEN)

+if (cpu_mode > CPU_MODE_XEN && cpu_mode != 255)

Otherwise, all passive domain samples will be considered as active’s.

2.     in p4_init(),

-if (cpu_mode > 3)

    +if (cpu_mode > 4)

3.     xen/arch/x86/Makefile is buggy, we prefer not changing the original structure much, just adding another line at the beginning:

OBJS += $(patsubst %.c, %.0,$(wildcard oprofile/*.c))

 

Thanks,

Xiaowei

Attachment: xenoprof-oprofile-0.8.1.patch
Description: xenoprof-oprofile-0.8.1.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Xenoprof oprofile patch update, Yang, Xiaowei <=