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

Re: [Xen-devel] Printing the exact source line in Xen panic call trace

To: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Printing the exact source line in Xen panic call trace
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 09 Nov 2009 20:54:29 +0000
Cc:
Delivery-date: Mon, 09 Nov 2009 12:54:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8686c3cd0911091116j321ff1cm6759253bb84cd423@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcphcT7Nbr+2RiV1R3Ss0S5b1hAM9AADZWN7
Thread-topic: [Xen-devel] Printing the exact source line in Xen panic call trace
User-agent: Microsoft-Entourage/12.20.0.090605
On 09/11/2009 19:16, "Tom Rotenberg" <tom.rotenberg@xxxxxxxxx> wrote:

> Hi,
> 
> Can i make the Xen call trace to print the exact source lines instead
> of printing function name + offset?

For example, at your shell:
# addr2line -e xen/xen-syms 0xffff82c48024c07f
/local/scratch/kfraser/xen-unstable.hg/xen/arch/x86/setup.c:434

>From that I'm sure you can write a simple script that takes a Xen backtrace
and prints it back out, annotated with file and line number information.

 -- Keir



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

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