A newer version of this document is available. Customers should click here to go to the newest version.
profile-python
Collect Python loop and function data during Survey analysis.
GUI Equivalent
Project Properties > Analysis Target > Survey Analysis > Advanced > Python loops and functions analysis mode
Syntax
--profile-python=<string>  |  
     
Arguments
Argument  |  
        Description  |  
       
|---|---|
off  |  
        Do not profile Python binary. Python scripts are included in the Survey results.  |  
       
stacks  |  
        Collect only stacks for the Python binary. Python scripts are included in the Survey results. Python stacks are shown in the top-down view of the Survey.  |  
       
full  |  
        Profile Python binary as a regular binary. Python scripts are included in the Survey results. Python stacks are shown in the top-down view of the Survey. Python hotspots (loops and functions) are shown in the various Survey views.  |  
       
Default
Off
Usage
Enabling can increase collection overhead.
Example
Run a Survey analysis. Explicitly disable collecting Python loop and function data.
advisor --collect=survey --profile-python=off --project-dir=./advi_results -- ./myApplication