At 15:43 -0700 on 22 Jun (1308757414), Ashwini Bhat wrote:
> Thanks Tim. But Im looking to get hold of the symbols without help from the
> hypervisor. Is that possible ?
Use your favourite debugging tool on xen-syms?
If you want to be able to extract symbol information from the running
hypervisor, with a tool in user-space, without knowing what hypervisor
build you're running on (like /proc/kallsyms) then you're out of luck.
You could probably add a hypercall to extract the symbols, and if you
have a convincing reason why it's useful then patches would be welcome.
> On Tue, Jun 21, 2011 at 2:06 AM, Tim Deegan <Tim.Deegan@xxxxxxxxxx> wrote:
> > Hi,
> > At 16:08 -0700 on 20 Jun (1308586099), Ashwini Bhat wrote:
> > > If I am not wrong, xen-syms holds the symbols for the hypervisor?
> > > Isnt it loaded in memory ? If yes, how can i get hold of it ? If not
> > from
> > > where can I read symbol addresses?
> > > If so, how can I read the values in xen-syms from the hypervisor.
> > xen-syms isn't loaded at all; it's just provided so you can use tools
> > like gdb on it. Inside the hypervisor, you can look up the symbols with
> > the symbols_lookup() function.
> > Tim.
> > --
> > Tim Deegan <Tim.Deegan@xxxxxxxxxx>
> > Principal Software Engineer, Xen Platform Team
> > Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)
> Xen-devel mailing list
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)
Xen-devel mailing list