Thread Call Stack

In this view, you can examine the thread call stacks for a particular time point in the trace.

Note: Only threads from processes with instrumentation code appear in the Thread Call Stack view. To see call stack data for an application, you must build it with function instrumentation. This way, the profiler library (libprofilingS.a) records all Function Enter and Function Exit events, and uses them to determine the stack at any point in execution.
Thread Call Stack view

Examining call stacks is useful for seeing when an application's functions were executed relative to other system events. When you click an event in the Timeline pane or the Trace Event Log view, the IDE populates the Thread Call Stack view with the call sequences for all instrumented threads that were active at the time of the selected event. You can double-click a call stack entry to open the associated source file at the corresponding line of code.

If you don't see source file and function names and line numbers in the stack entries, it means address translation isn't properly configured. Information about enabling and using this trace feature is given in the Address Translation subsection of the kernel log configuration reference. When address translation is disabled, the view shows only virtual addresses.

In the view toolbar, there are two buttons:
  • Synchronize with editor filters () — Updates the data display based on the current filtering settings.
  • Export to application profiler session () — Takes the data from the open kernel event log (.kev) file and exports it to an Application Profiler session.