[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Re: xenoprof error
Anna, Thanks for helping me. I am novice in Xen. I have installed xen 3.0.4 and oprofile 0.9.2. Dom0 and DomU kernel is 2.6.16.33-xen. Let us take a simple case when there is one VM only. In this case, following is sequence of commands I type: > opcontrol --reset > opcontrol --start-daemon --event=CPU_CLK_UNHALTED:10000:0:1:1 --xen=/boot/xen-syms-3.0.4-1 --vmlinux=/boot/vmlinux-syms-2.6.16.33-xen --active-domains=0 I get following reply: /usr/local/bin/opcontrol: line 1082: echo: write error: Invalid argument Using 2.6+ OProfile kernel interface. Reading module info. Using log file /var/lib/oprofile/oprofiled.log Daemon started. First question: what is this invalid argument error ? Apparently, opcontrol starts and log (/var/lib/oprofile/oprofiled.log) does not indicate any error Now, assuming oprofile started correctly, I do some activity such as "ls" or run some of my C programs. Then i follow this command sequence: > opcontrol --dump > opreport This gives following error (warning seems ok as i have not given some of symbol files): warning: /bridge could not be found. warning: /ehci_hcd could not be found. warning: /evdev could not be found. warning: /ext3 could not be found. warning: /jbd could not be found. warning: /oprofile could not be found. warning: /tg3 could not be found. warning: /uhci_hcd could not be found. warning: /usbcore could not be found. warning: /xen-unknown could not be found. CPU: Core 2, speed 1995.03 MHz (estimated) Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000 Segmentation fault If I try only "opreport" I get following output (I am giving partial output as it seems ok): CPU: Core 2, speed 1995.03 MHz (estimated) Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000 CPU_CLK_UNHALT...| samples| %| ------------------ 33557 14.8824 libfb.so 31884 14.1404 libmozjs.so 26669 11.8276 xen-syms-3.0.4-1 26373 11.6963 libgklayout.so 19726 8.7484 libc-2.5.so 18600 8.2490 vmlinux-syms-2.6.16.33-xen 8806 3.9054 libxpcom_core.so 8342 3.6996 libxpconnect.so 5327 2.3625 Xorg CPU_CLK_UNHALT...| samples| %| So, why I am getting segmentation fault with "opreport -l" ( Second Question ). I am not sure what logs you may need or is there a way i can detect the fault ? let me know any other information I can give you. Thanks again. -John On Feb 4, 2008 4:20 PM, Fischer, Anna <anna.fischer@xxxxxx> wrote:
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |