You copied the Doc URL to your clipboard.

Viewing scripts in analysis

Python function names are shown in the call paths view under the associated Python interpreter process. Python source code is shown in the code view.

Where a source file for a script is found, the names of the profiled functions are shown in the call paths view. Where a source file is not found, the entry is shown as: '<unknown code in /path/to/script.py>'.

Figure 16-3 Python call paths view

Python call paths view.

Python source files appear in the code view with markers indicating number of samples for each profiled line. If gator.pyprofiling mode is chosen, only lines containing function definition statements indicate the number of times the function was called. The following figure shows code that is executed in gator.py trace mode.

Figure 16-4 Python code view

Python code view