A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-F3CAEB82-D852-438E-B22D-F2B58BE10AB8
Visible to Intel only — GUID: GUID-F3CAEB82-D852-438E-B22D-F2B58BE10AB8
target-pid
Attach a collection to a running process specified by the process ID.
GUI Equivalent
Configure Analysis window> WHAT pane > Attach To Process > PID
Syntax
-target-pid <value> |
Arguments
ID of process that you want to analyze.
Actions Modified
Description
Use the target-pid option to attach a collect or collect-with action to a running process specified by its process ID (pid).
Alternate Options
The target-process option provides the same capabilities, but uses the process name to specify the process.
Example
Attach a hotspots collection to a running process whose ID is 1234.
vtune -collect hotspots -target-pid 1234