<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2691</bug_id>
          
          <creation_ts>2012-07-04 07:45:13 +0000</creation_ts>
          <short_desc>Oprofile-viewer encounter invalid sample file issue</short_desc>
          <delta_ts>2012-11-02 11:36:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongna Xu">hongnax.xu</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ningx.ma</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>song.liu</cc>
    
    <cc>sstncr</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22777</commentid>
    <comment_count>0</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-07-04 07:45:13 +0000</bug_when>
    <thetext>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&apos;s kernel generated oprofile data file can be read by remote 64bit opreport well.

the image were built from poky/master,commitID 7f017cab0b3e4d5a4fc356eccd8eb8429b0531d0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22778</commentid>
    <comment_count>1</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2012-07-04 07:47:21 +0000</bug_when>
    <thetext>The opreport installed on the opensuse host is 0.9.7.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22782</commentid>
    <comment_count>2</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2012-07-04 08:44:54 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22788</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-07-04 14:34:55 +0000</bug_when>
    <thetext>Is oprofile backwards compatible and does upgrading oprofile in our metadata likely to fix this issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23246</commentid>
    <comment_count>4</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-07-19 08:27:55 +0000</bug_when>
    <thetext>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&apos;s kernel generated oprofile data file.the log is:
***********************
(oprofile-viewer:17615): Gtk-WARNING **: Unable to locate theme engine in module_path: &quot;pixmap&quot;,

(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 &gt; end something wrong with kernel or module layout ?
please report problem to oprofile-list@lists.sourceforge.net
*****************************</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23248</commentid>
    <comment_count>5</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-07-19 09:24:38 +0000</bug_when>
    <thetext>the log in &quot;Comment 4&quot; is the same issue in bug 1452.
if the error&quot;Invalid sample file&quot; not happen next test cycle, i will close it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24373</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-08-22 23:49:41 +0000</bug_when>
    <thetext>Any Update?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24378</commentid>
    <comment_count>7</comment_count>
    <who name="MaNing">ningx.ma</who>
    <bug_when>2012-08-23 01:36:32 +0000</bug_when>
    <thetext>close it cause i didn&apos;t encounter this issue from poky/master:0ffb02eec2beaea27ff0ec9d3d31b0a09e675a4c till now, if anyone meet it againt, please reopen it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27198</commentid>
    <comment_count>8</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2012-11-02 11:36:09 +0000</bug_when>
    <thetext>Marking as verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>