Bug 133 - tools (oprofile viewer/client) does not match with tools (oprofile) server
Summary: tools (oprofile viewer/client) does not match with tools (oprofile) server
Status: VERIFIED WORKSFORME
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 0.9 M4
Assignee: Scott Rifenbark
QA Contact:
URL:
Whiteboard: 22 July 2011 - verified
: 152 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-20 19:43 UTC by liping Ke
Modified: 2011-07-22 07:17 UTC (History)
9 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liping Ke 2010-07-20 19:43:57 UTC
When enabling tools oprofile in target, I found in host sdk root, oprofile viewer which is matching target-server version oprofile-server is not included in the SDK environment. Yet if we start up host oprofile view, it will report error "oprofile server does not match viewer".

I guess the problem should exist for all client/server like tools. If servers are included in the target, we need to include client in the host sdk meta-toolchain and call this corresponding client instead of host client. Am I right?

And also I am not quite sure whether those tools client need to have triplet name like i586-poky-linux-oprofile-viewer...


If this problem is not solved, anjuta profile tools still can't work...

Thanks a lot for your help!
criping
Comment 1 liping Ke 2010-08-02 22:27:58 UTC
This problem is actually caused by the oprofile viewer provided by o-hand.com is too old. We need to provide a newer version of oprofile viewer in the o-hand.com. Or update the document, let user download the proper version of viewer.
Comment 2 Dexuan Cui 2010-08-06 02:02:16 UTC
*** Bug 152 has been marked as a duplicate of this bug. ***
Comment 3 Dexuan Cui 2010-08-22 19:17:51 UTC
(In reply to comment #1)
> This problem is actually caused by the oprofile viewer provided by o-hand.com
> is too old. We need to provide a newer version of oprofile viewer in the
> o-hand.com. Or update the document, let user download the proper version of
> viewer.
Poky Handbook's "3.2. Using OProfileUI" says:
A graphical user interface for OProfile is also available. You can either use prebuilt Debian packages
from the OpenedHand repository [http://debian.o-hand.com/] or download and build from svn at
http://svn.o-hand.com/repos/oprofileui/trunk/. ...

However, the "prebuilt Debian packages" oprofileviewer of "the OpenedHand repository [http://debian.o-hand.com/]" is too old as Liping pointed out.

Looks it's not easy to push OE repository to update to the matching oprofileviewer, can we update the poky manual?
I think we can simply remove "either use prebuilt Debian packages
from the OpenedHand repository [http://debian.o-hand.com/] or" from Poky manual?

Hi Richard and Saul, could you give some suggestion? Thanks!
Comment 4 Jessica 2010-09-08 10:49:56 UTC
This should fall into general web site and doc clean up
Comment 5 Saul Wold 2010-09-08 15:03:11 UTC
I agree, there is going to be a Handbook review this week and this should be included in that branch.
Comment 6 Jessica 2010-10-22 09:42:09 UTC
In the new handbook the pointer to O-Hand old package is taken out.
Comment 7 Scott Rifenbark 2011-07-22 07:17:08 UTC
I verified the section in the Poky Reference Manual as:

"A graphical user interface for OProfile is also available.  You can download and build it from the Yocto Project at http://git.yoctoproject.org/cgit.cgi/oprofileui/.  If the "tools-profile" image feature is selected, all necessary binaries are installed onto the target device for OProfileUI interaction."

This text is in the bernard branch as well as master.