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. Thanks in advance. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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@citrix.com> Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thanks Tim. But Im looking to get hold of the symbols without help from the hypervisor. Is that possible ? On Tue, Jun 21, 2011 at 2:06 AM, Tim Deegan <Tim.Deegan@citrix.com> 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@citrix.com> > Principal Software Engineer, Xen Platform Team > Citrix Systems UK Ltd. (Company #02937203, SL9 0BG) >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Please do not top post. Please read http://wiki.xen.org/xenwiki/AskingXenDevelQuestions On Wed, 2011-06-22 at 23:43 +0100, Ashwini Bhat wrote:> Thanks Tim. But Im looking to get hold of the symbols without help > from the hypervisor.But originally you said: "how can I read the values in xen-syms from the hypervisor.". Now you say without the help of the hypervisor. Which is it? What is your actual aim? Ian.> > On Tue, Jun 21, 2011 at 2:06 AM, Tim Deegan <Tim.Deegan@citrix.com> > 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@citrix.com> > Principal Software Engineer, Xen Platform Team > Citrix Systems UK Ltd. (Company #02937203, SL9 0BG) > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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. Tim.> On Tue, Jun 21, 2011 at 2:06 AM, Tim Deegan <Tim.Deegan@citrix.com> 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@citrix.com> > > Principal Software Engineer, Xen Platform Team > > Citrix Systems UK Ltd. (Company #02937203, SL9 0BG) > >> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- Tim Deegan <Tim.Deegan@citrix.com> Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel