Visible to Intel only — GUID: GUID-839860A2-F7BB-46B9-8EE7-C6EB0FF8330D
Visible to Intel only — GUID: GUID-839860A2-F7BB-46B9-8EE7-C6EB0FF8330D
target-process
Attach Survey or Trip Counts & FLOP collection to a running process specified by the process name.
GUI Equivalent
Project Properties > Analysis Target > [Analysis Type] > Attach to Process > Process name
Syntax
--target-process=<string> |
Arguments
<string> is a process name.
Default
No default argument
Actions Modified
collect=survey - with call stacks disabled (default)
collect=tripcounts - with call stacks disabled (default)
Usage
The usage scenario is similar to starting a target application with collection paused, except you can attach to an already running process.
Usage can decrease collection overhead.
Use the command action with the arguments shown below to:
detach - the process continues running but analysis data collection stops.
stop - kill the process, which also stops analysis data collection.
Example
Attach Survey collection to the running process MyProcess.
advisor --collect=survey --target-process=MyProcess --project-dir=./advi_results -- ./myApplication