Manage profiling sessions

The Profiler Sessions view (Window > Show View > Other… > QNX Application Profiler > Profiler Sessions) lets you control multiple profiling sessions simultaneously. You can:

Screen showing the Profiler Sessions view.

From the Debug tab, you can see more detail about the session:

Screen showing the Debug tab for profile sessions.

The Profiler Sessions view shows the following as a hierarchical tree for each profiling session:

Type Description
Session ID A consecutive identifier assigned to each profiler session.
Session Name Launch instance name (i.e. ApplicationProfiling).
Session State The current state of the session (open, closed)
Session Timestamp The date and time the session was created.

The icons that appear in the Profiler Sessions view are:

Name Icon
Running Process

The Running process icon

Executable

The Executable icon

Shared libraries

The Library icon

DLLs

The DLL icon

Unknown

The Unknown icon

A node named Unknown refers to a container for code that doesn't belong to any binary or library. Usually, this type refers to kernel code mapped to process virtual memory.

For Sampling and Call Count profiling, not all shared libraries or the binary appear in the tree view. The view can include only those libraries and binaries that were instrumented with Call Count instrumentation, or those that have corresponding samples during the execution. If the application runs for a short period of time (less than ten seconds), a library might not even have a single probe.

For Function Instrumentation, profiling only an instrumented binary and libraries would be displayed in the tree view. System libraries, such as libc, would never appear in the view.

To choose which executable or library to show information for in the Execution Time view:

  1. In the Profiler Sessions view, click one of the following:
    • a session
    • an executable
    • a shared library
    • a DLL

To terminate an application running on a target:

  1. In the Debug view, select a launch configuration.
  2. Click the Terminate button ( The Terminate icon) in the title bar of the corresponding Console view.

    To clear old launch listings from this view, click the Remove All Terminated Launches button (The Remove All Terminated Launches icon).

To disconnect from an application running on a target:

  1. In the Debug view, select a running profiler session.
  2. Select a QNX Application Profiler Service.
  3. Click the Disconnect button ( The Disconnect icon) in the view's title bar.

    To clear old launch listings from this view, click the Remove All Terminated Launches button ( The Remove All Terminated Launches icon).

Last modified: 2013-12-21

comments powered by Disqus