Intel® Advisor User Guide

ID 766448
Date 10/31/2024
Public
Document Table of Contents

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

Actions Modified

collect=survey

collect= tripcounts

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

See Also