Intel® Profiling Tools Interface (PTI) provides a Python API for processor trace (Intel PT) and hardware-based profiling. Version 0.17.0; release cadence irregular.
pip install intel-ptiNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize PTI, list sources, and decode a trace file.
Check CPU support via 'lscpu | grep intel_pt' or CPUID.
Update imports: 'from intel_pti.decode import TraceDecoder' instead of 'from intel_pti import TraceDecoder'.
Use 'with PTI() as pti:' pattern.