Source and Assembly - Source and Assembly - 57368

uProf User Guide

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

Double-click on any entry in the Functions table in the Metrics screen to load the source tab for the corresponding function in SOURCES page. If the GUI can find the path to the source file for that function, then it will try to open the file, failing which you will be prompted to locate it.

The following figure depicts the source and assembly screen.

Figure 1. SOURCES - Source and Assembly

The following sections are present in the SOURCES screen:

The source lines of the selected function are listed and the corresponding metrics are populated in various columns against each source line. If no samples are collected when a source line was executed, the metrics column will be empty.

The assembly instruction of the corresponding highlighted source line. The tree will also show the offset for each assembly instruction along with metrics.

Heatmap – overview of the hotspots at source level.

Filters pane lets you filter the profile data by providing the following options.

  • The Select View controls the counters that are displayed. The relevant counters and their derived metrics are grouped in predefined views. You can select it from the Select View drop- down.
  • The Process drop-down lists all the processes on which this selected function is executed and has samples.
  • The Threads drop-down lists all the threads on which this selected function is executed and has samples.
  • You can use the ValueType drop-down to display the counter values as follows:
    • Sample Count is the number of samples attributed to a function.
    • Event Count is the product of sample count and sampling interval.
    • Percentage is the percentage of samples collected for a function.

The Show Assembly button shows/hides visibility of the assembly instruction table shown at the bottom of the view.

For multi-threaded or multi-process applications, if a function has been executed from multiple threads or processes, each of them will be listed in the Process and Threads drop-downs in the Filters pane. Changing them will update the profile data for that selection. By default, profile data for the selected function, aggregated across all processes and all threads will be displayed.

Note: If the source file cannot be located or opened, only disassembly will be displayed.