A newer version of this document is available. Customers should click here to go to the newest version.
tsx-hotspots Command Line Analysis
This analysis is deprecated in GUI and available from command line only.
TSX Hotspots analysis type uses hardware event-based sampling collection and is targeted for the Intel® processors supporting Intel® Transactional Synchronization Extensions (Intel® TSX). This analysis type uses the UOPS_RETIRED.ALL_PS hardware event that emulates precise clockticks and helps identify performance-critical program units inside transactions.
Syntax
vtune -collect tsx-hotspots [-knob <knobName=knobValue>] [--] <target>
Knobs: sampling-interval, enable-stack-collection.
For the most current information on available knobs (configuration options) for the TSX Hotspots analysis, enter:
vtune -help collect tsx-hotspots
Example
This example shows how to run the TSX Hotspots analysis on a Linux* myApplication with enabled call stacks and thread context switches advanced collection:
vtune -collect tsx-hotspots -knob enable-stack-collection=true -- /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.