Re: [PATCH] kvm tools: Lookup symbol based on RIP for 'kill -3'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Pekka Enberg <penberg@xxxxxxxxxx> wrote:

> To make debugging easier, look up symbol from guest kernel image based on RIP
> when user does 'kill -3' to the hypervisor.
> 
> Example output looks as follows:
> 
>   Code:
>   -----
>   rip: [<ffffffff812cb3a0>] delay_loop+30 (/home/penberg/linux/arch/x86/lib/delay.c:32)

Hm, it does not work here:

 rip: [<ffffffff8103921f>] <unknown>

While ../../vmlinux definitely has it:

ffffffff810391d9 <default_idle>:

ffffffff8103921f:       eb 01                   jmp    ffffffff81039222 <default_idle+0x49>

Does libbfd require debug symbols? That's sad as i almost never use debug 
symbols.

It would be nice to import the relevant elflib magic from tools/perf/.

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux