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] how to dump calling stack in Xen?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] how to dump calling stack in Xen?
From: Xin Zhao <zhaoxin@xxxxxxxxxxxxxx>
Date: Thu, 21 Jul 2005 17:50:23 -0400 (EDT)
Delivery-date: Thu, 21 Jul 2005 21:49:00 +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
I am trying to dump calling stack in Xen in my codes instead of using
kgdb like tools. oprofile seems to be one possibility.

While oprofile is already included in kernel 2.6.11, I don't
see this option when I do "make ARCH=xen menuconfig".  Actually I always
see the call stack dump after I crash the kernel. So I think there are
some codes in kernel that can dump the stack information. But I haven't
find them. :)

Can someone kindly tell me how to do this? Thanks in advance!

-x


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

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