All of lore.kernel.org
 help / color / mirror / Atom feed
* Printing the exact source line in Xen panic call trace
@ 2009-11-09 19:16 Tom Rotenberg
  2009-11-09 20:54 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rotenberg @ 2009-11-09 19:16 UTC (permalink / raw)
  To: xen-devel

Hi,

I am getting a Xen panic, and i would like to know in which line
exactly it happens, but the only thing i can see in the Xen panic
message are stuff like this:
(XEN) Xen call trace:
(XEN)    [<ffff828c801b6b1c>] emulate_map_dest+0x9c/0x1e0
(XEN)    [<ffff828c801b6eb2>] sh_x86_emulate_write__guest_2+0x52/0x1c0
(XEN)    [<ffff828c801af4f0>] hvm_emulate_write+0x90/0xa0
(XEN)    [<ffff828c801af545>] hvm_read+0x45/0x90
(XEN)    [<ffff828c801647e0>] x86_emulate+0x1000/0x11e20
...

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

Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Printing the exact source line in Xen panic call trace
  2009-11-09 19:16 Printing the exact source line in Xen panic call trace Tom Rotenberg
@ 2009-11-09 20:54 ` Keir Fraser
  2009-11-09 20:59   ` Tom Rotenberg
  0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2009-11-09 20:54 UTC (permalink / raw)
  To: Tom Rotenberg, xen-devel

On 09/11/2009 19:16, "Tom Rotenberg" <tom.rotenberg@gmail.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Printing the exact source line in Xen panic call trace
  2009-11-09 20:54 ` Keir Fraser
@ 2009-11-09 20:59   ` Tom Rotenberg
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Rotenberg @ 2009-11-09 20:59 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel

Thanks a lot!
That's really helpfull!

On Mon, Nov 9, 2009 at 10:54 PM, Keir Fraser <keir.fraser@eu.citrix.com> wrote:
> On 09/11/2009 19:16, "Tom Rotenberg" <tom.rotenberg@gmail.com> 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
>
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-09 20:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-09 19:16 Printing the exact source line in Xen panic call trace Tom Rotenberg
2009-11-09 20:54 ` Keir Fraser
2009-11-09 20:59   ` Tom Rotenberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.