Flame Graph - Flame Graph - 57368

uProf User Guide

Document ID
57368
Release Date
2025-06-09
Revision
5.1 English

Flame graph is a visualization of sampled call-stack traces to quickly identify the hottest code execution paths. Click ANALYZE > Flame Graph to view it as follows:

Figure 1. ANALYZE - Flame Graph

The x-axis of the flame graph shows the call-stack profile and the y-axis shows the stack depth. It is not plotted based on passage of time. Each cell represents a stack frame and if a frame were present more often in the call-stack samples, the cell would be wider. This screen has the following options:

  • Module-wise coloring of the cells.
  • Click on a cell to zoom only that cell and its children. Use the Reset Zoom button visualize the entire graph.
  • Right-click on a cell to view the following context options:
    • Copy Function Data to copy the function names and its metrics to clipboard.
    • Open Source View to navigate to the source tab of that function.
  • Hover the mouse over a cell to display the tool-tip showing the inclusive and exclusive number of samples of that function.

Click the Zoom Graph button for a better zooming experience.

When you type a function name in the search box, a list of all the relevant matches will be displayed. Select the required function to highlight the cells corresponding to that function in the flame graph.

The Process drop-down lists all the processes for which call-stack samples are collected. Changing the process will plot the flame graph for that particular process.

For multi-threaded applications, the flame graph will be plotted for the cumulative data of all the threads by default.

The Threads drop-down lists all the threads for which call-stack samples are collected. Changing the thread will plot the flame graph for that thread.

The Select Metric drop-down lists all the metrics for which call-stack samples are collected. Changing the metric will plot the flame graph for that particular metric.