xenoprof missing xen symbols on x86_64 dom0
Hello,
I followed the online guide to get xenoprof up and running
(http://www.xen.org/files/summit_3/xenoprof_tutorial.pdf). I compiled the kernel with debugging symbols and patched up the user tools.
The problem I'm facing now is that "opreport -l" doesn't pick up symbols from the xen-syms file specified while starting profiling. I get a whole lot of "xen-unknown" symbols. This issue seems to be a affecting only reports from dom0; strangely enough, I am able to get symbols from xen on the domU report though. I'm running on an Intel Xeon E5320 with Xen 3.3.2 pre-release (compiled from source). The version of oprofile used is oprofile-0.9.3 and the xen patch applied is oprofile-0.9.3-xen-r2.patch.
I know that this question has been asked recently by someone else working with xen3.3 but there was no response to it. So, reposting another one here. Please do respond.
Thanks,
Mukil
This problem usually happens when oprofile is using a kernel image that does not correspond to the running kernel.
Make sure you are specifying the right kernel image on the opcontrol command.
Oprofile keeps previously used kernel images under the directory /root/.oprofile (assuming your are logged in as root).
Sometimes this may have an old kernel which may not correspond to the current kernel and may be mistakenly used by oprofile.
Try removing this directory and then run oprofile specifying the right kernel image using option --vmlinux (use the non compressed version of the kernel image). That is all I can think of. I hopee this helps
Renato
Quoted 37 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mukil Kesavan
Sent: Sunday, February 22, 2009 7:45 PM
To: [email protected]
Subject: [Xen-devel] xenoprof missing xen symbols onx86_64dom0Hello,
I followed the online guide to get xenoprof up and running
(http://www.xen.org/files/summit_3/xenoprof_tutorial.pdf). I compiled the kernel with debugging symbols and patched up the user tools.The problem I'm facing now is that "opreport -l" doesn't pick up symbols from the xen-syms file specified while starting profiling. I get a whole lot of "xen-unknown" symbols. This issue seems to be a affecting only reports from dom0; strangely enough, I am able to get symbols from xen on the domU report though. I'm running on an Intel Xeon E5320 with Xen 3.3.2 pre-release (compiled from source). The version of oprofile used is oprofile-0.9.3 and the xen patch applied is oprofile-0.9.3-xen-r2.patch.
I know that this question has been asked recently by someone else working with xen3.3 but there was no response to it. So, reposting another one here. Please do respond.
Thanks,
Mukil_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel