Visible to Intel only — GUID: GUID-AADF675B-E223-45E6-905C-8CE5FDF9615F
Visible to Intel only — GUID: GUID-AADF675B-E223-45E6-905C-8CE5FDF9615F
sgx-hotspots Command Line Analysis
This analysis is deprecated in GUI and available from command line only.
SGX Hotspots analysis type is targeted for systems with Intel Software Guard Extensions (Intel SGX) feature enabled. It uses the INST_RETIRED.PREC_DIST hardware event that emulates precise clockticks and helps identify performance-critical program units inside security enclaves. Using the precise event is mandatory for the analysis on the systems with the Intel SGX enabled because regular non-precise events do not provide a correct instruction pointer and therefore cannot be attributed to correct modules.
Syntax
vtune -collect sgx-hotspots [-knob <knobName=knobValue>] [--] <target>
Knobs: sampling-interval, enable-user-tasks.
For the most current information on available knobs (configuration options) for the SGX Hotspots analysis, enter:
vtune -help collect sgx-hotspots
Example
The following example shows how to run the SGX Hotspots Analysis on a Linux* myApplication:
vtune -collect sgx-hotspots -- /home/test/myApplication
What's Next
When the data collection is complete, do one of the following to view the result:
Use the -report action to view the data from command line.
Use the -report-output action to write report to a .txt or .csv file
Open the data collection result (*.vtune) in the VTune Profiler graphical interface.