If the profiler data file contained function call information, select the Function Calls tab to show information about the function call relationships during the selected time period. Figure 1 shows an example set of tables that provide information about function calls.
Figure 1. Function Call Information
Only one function can be selected at a time. For the selected function, you can see the functions that have been found calling it and the functions that it has called. Additional columns provide more information, such as the percentage of each functions activity based on 100 percent of all calls to and from the selected function, Function's starting address (in hex), binary where function exists, and the path of the binary.
Description of table columns:
(for all tables)
(in the Select One Function table)
The selected function may have been called from one or more functions. In the Functions calling the selected function table, the % of Calls column shows what percentage of the time the selected function was called by each function in the table. For each function in this table, the Is Caller % column indicates the percentage of samples that the function was the caller of the executing function.
The selected function may have called one or more functions. In the Functions called by the selected function table, the % of Calls column shows what percent of the time the selected function called each function in the table. For each function in this table, the Is Called % column indicates in what percentage of samples the function was executing.
NOTE On the target device, the link register usually contains the return address of the caller function. However, a called function may temporarily use the link register to hold a constant or variable. Performance Investigator uses link register values in the profiler data file to determine the names of caller functions. When PI cannot determine the name of a caller function, it may be because the link register held a constant or variable. For example, if the link register held a constant 0x0, PI would display the caller's name as "Function at 0x0 not found".
Related references