| Summary: | 32bit kernel generated oprofile data file can not be read by remote 64bit opreport | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Lianhao Lu <lianhao.lu> |
| Component: | core | Assignee: | Saul Wold <sgw> |
| Status: | RESOLVED OBSOLETE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | bruce.ashfield, dexuan.cui, dvhart, jessica.zhang, jiajun.xu, laurentiu.serban, mark.hatle, meta.mr.watcher, meta.watcher, sgw, tom.zanussi |
| Version: | unspecified | ||
| Target Milestone: | 1.3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Lianhao Lu
2011-09-05 06:22:04 UTC
It seems by NOT "prelink" during do_rootfs time, the problem is gone. Dexuan, could you verify this is still an issue in master. If so, could you accept the bug? (In reply to comment #1) > It seems by NOT "prelink" during do_rootfs time, the problem is gone. Lianhao, Could you please re-check if we still have the issue in recent poky master? And, if we're sure this is a prelink issue, maybe we can ask Mark to have a look. :-) (In reply to comment #2) > Dexuan, could you verify this is still an issue in master. If so, could you > accept the bug? Ok, we're re-checking it. Branch: Poky/Master Commit id:4648aadfe161d2e0ec51408f35fdf8996727bd22 The problem still exists in the latest poky/master. This problem seems to me related to prelink. However. By not "prelink" during the do_rootfs time, the problem is gone. To reproduce this problem: 1. compile and install the oprofileUI on the host from git://git.yoctoproject.org/oprofileui. 2. launch the qemu, using image of core-image-sato-sdk(MACHINE=qemux86) 3. run oprofile-viewer on the host from the console, connect to the target in qemu, then click "start" and "stop". We'll see no chart got displayed in the oprofile-viewer, and an opreport error "profile_t::samples_range(): start > end something wrong with kernel or module layout ?" displayed in the console. (In reply to comment #4) > Branch: Poky/Master > Commit id:4648aadfe161d2e0ec51408f35fdf8996727bd22 > > The problem still exists in the latest poky/master. Lianhao, thanks for the checking! > > This problem seems to me related to prelink. However. By not "prelink" during > the do_rootfs time, the problem is gone. Could Mark please have a look since this is prelink related? :-) > > To reproduce this problem: > 1. compile and install the oprofileUI on the host from > git://git.yoctoproject.org/oprofileui. > 2. launch the qemu, using image of core-image-sato-sdk(MACHINE=qemux86) > 3. run oprofile-viewer on the host from the console, connect to the target in > qemu, then click "start" and "stop". > > We'll see no chart got displayed in the oprofile-viewer, and an opreport error > "profile_t::samples_range(): start > end something wrong with > kernel or module layout ?" displayed in the console. If oprofile-viewer is correctly installed on a system and the oparchconv is installed such that oprofile-viewer can find it, this seems to work correcly now. I am going to close this as obsolete since it's an older bug that seems to work correctly now. I confirmed this is with a prelinked image, if the problem reappears please reopen. |