User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

tsx-hotspots Command Line Analysis

NOTE:

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.

NOTE:

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: