From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Knorr Subject: Re: how to dump calling stack in Xen? Date: 22 Jul 2005 03:22:55 +0200 Message-ID: <87ek9rr5w0.fsf@bytesex.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xin Zhao Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Xin Zhao writes: > 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. :) linux kernel has a "dump_stack()" function, that helps at least for the linux kernel context. xen itself hasn't something like that, you only get the addresses, not the symbols ... Gerd