Documentation/devtools/maemo5/oprofileui

Image:Ambox_content.png
This article documents a developer tool.
A list of available devtools is available, together with installation instructions.


Contents

[edit] Description

OProfileUI is a graphical user interface to the oprofile system profiler. There's a server on the device controlling oprofile and transferring the data to the UI running on the PC.

[edit] Packages

source: oprofileui

binary: oprofileui-viewer, oprofileui-server

[edit] Usage Examples

In order to see see function names, you need to install the debug symbol packages.

To test the OProfileUI on the device first install both the viewer and the server to the device. After that continue the OProfile usage with something like the following:

  • Clear old results:
# opcontrol --reset
  • Start oprofile viewer server:
# oprofile-server &
  • start OProfileUI from command line
  • press the connect button and connect to "This Computer"
  • press "Start" button
  • press "Stop" button

As a result you see how many cycles were spent inside the kernel and the mmap'd binaries and libraries. Note that running the oprofileui components in the device will naturally be visible in the oprofile results.

The UI usage is also explained in the README file coming with it.

[edit] Links

http://projects.o-hand.com/oprofileui

[edit] See Also

oprofile