on host opensuse 12.1 64bit,with target qemux86/x86-64 sato-sdk image at http://autobuilder.yoctoproject.org/pub/nightly/20120613-1/machines/qemu/, oprofile-viewer meet the error: ################## opreport error: Invalid sample file, bad magic number: /tmp/oprofile-archive-17724/active/var/lib/oprofile/samples/current/{root}/usr/bin/matchbox-panel/{dep}/{root}/usr/lib/libpangoft2-1.0.so.0.2800.4/TIMER.0.0.all.all.all ################### but qemuarm's kernel generated oprofile data file can be read by remote 64bit opreport well. the image were built from poky/master,commitID 7f017cab0b3e4d5a4fc356eccd8eb8429b0531d0
The opreport installed on the opensuse host is 0.9.7.
I tested the same images on Ubuntu 10.04 x86-64 host with opreport v0.9.6. The qemux86-64 was ok and the qemux86/qemuarm failed due to another issue which was reported in bug #1452.(https://bugzilla.yoctoproject.org/show_bug.cgi?id=1452) My guess is that the opreport on openSuse is not compatible with the oprofile in our qemu target.
Is oprofile backwards compatible and does upgrading oprofile in our metadata likely to fix this issue?
weird thing happen. i use the same host machine(opensuse 12.1 64bit with opreport 0.9.7) mentioned in description with 1.3 M2 RC1 building with juno eclipse, the issue is gone. image location: http://autobuilder.yoctoproject.org/pub/nightly/201200712-1/machines/qemu/ Tree/Branch: poky/master Commit id: eb0cb7e8234f5d2e5623406e9660be91cf52f65e but with the same commit buiding, on host ubuntu 11.10 64 bit with opreport 0.9.6, which can not be read qemuarm/x86's kernel generated oprofile data file.the log is: *********************** (oprofile-viewer:17615): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (oprofile-viewer:17615): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated warning: /tmp/oprofile-archive-17615/active/no-vmlinux could not be found. warning: /tmp/oprofile-archive-17615/active[heap] (tgid:522 range:0x8217000-0x842b000) could not be found. warning: /tmp/oprofile-archive-17615/active[heap] (tgid:681 range:0x804b000-0x812f000) could not be found. warning: /tmp/oprofile-archive-17615/active[heap] (tgid:793 range:0x8127000-0x81ab000) could not be found. warning: /tmp/oprofile-archive-17615/active[heap] (tgid:808 range:0x8127000-0x81ab000) could not be found. opreport error: profile_t::samples_range(): start > end something wrong with kernel or module layout ? please report problem to oprofile-list@lists.sourceforge.net *****************************
the log in "Comment 4" is the same issue in bug 1452. if the error"Invalid sample file" not happen next test cycle, i will close it.
Any Update?
close it cause i didn't encounter this issue from poky/master:0ffb02eec2beaea27ff0ec9d3d31b0a09e675a4c till now, if anyone meet it againt, please reopen it.
Marking as verified.