TABLE OF CONTENTS
Chapter 1. Profiling from the CLI............................................................................ 1
1.1. Installing the CLI on Your Target.......................................................................1
1.2. Command Line Options.................................................................................. 1
1.2.1. CLI Global Options.................................................................................. 2
1.3. CLI Command Switches.................................................................................. 2
1.3.1. CLI Analyze Command Switch Options........................................................... 4
1.3.2. CLI Cancel Command Switch Options...........................................................10
1.3.3. CLI Export Command Switch Options........................................................... 12
1.3.4. CLI Launch Command Switch Options.......................................................... 15
1.3.5. CLI Profile Command Switch Options........................................................... 37
1.3.6. CLI Sessions Command Switch Subcommands................................................. 76
1.3.6.1. CLI Sessions List Command Switch Options.............................................. 76
1.3.7. CLI Shutdown Command Switch Options....................................................... 77
1.3.8. CLI Start Command Switch Options............................................................. 78
1.3.9. CLI Stats Command Switch Options.............................................................97
1.3.10. CLI Status Command Switch Options........................................................ 105
1.3.11. CLI Stop Command Switch Options...........................................................107
1.4. Example Single Command Lines..................................................................... 108
1.5. Example Interactive CLI Command Sequences.................................................... 111
1.6. Example Stats Command Sequences................................................................116
1.7. Example Output from --stats Option............................................................... 117
1.8. Importing and Viewing Command Line Results Files............................................. 120
1.9. Using the CLI to Analyze MPI Codes................................................................ 122
1.9.1. Tracing MPI API calls............................................................................. 122
1.9.2. Using the CLI to Profile Applications Launched with mpirun.............................. 122
Chapter 2. Profiling from the GUI......................................................................... 125
2.1. Profiling Linux Targets from the GUI............................................................... 125
2.1.1. Connecting to the Target Device.............................................................. 125
2.1.2. System-Wide Profiling Options................................................................. 127
2.1.2.1. Linux x86_64................................................................................. 127
2.1.2.2. Linux for Tegra.............................................................................. 129
2.1.3. Target Sampling Options.........................................................................129
Target Sampling Options for Workstation.......................................................... 130
Target Sampling Options for Embedded Linux.................................................... 131
2.1.4. Hotkey Trace Start/Stop.........................................................................131
2.1.5. Launching Processes..............................................................................132
2.2. Profiling Windows Targets from the GUI........................................................... 132
Remoting to a Windows Based Machine...............................................................132
Hotkey Trace Start/Stop................................................................................. 132
Target Sampling Options on Windows................................................................. 133
www.nvidia.com
User Guide v2023.2.1 | ii