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.


source: oprofileui

binary: oprofileui-viewer, oprofileui-server

Usage Examples

In order to see see function names, you need to install the debug symbol packages. To see callgraphs, you also need to recompile the software with frame pointers (-fno-omit-frame-pointer) before profiling them with oprofile.

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:

  1. Clear old results:

    # opcontrol --reset
  2. Start oprofile viewer server:

    # oprofile-server &
  3. start OProfileUI from Task Navigator

  4. press the connect toolbar button (first one) and give "localhost" as the server address

  5. press "Start" button

  6. 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.



See Also