Registry / devops / intel-pti

intel-pti

JSON →
library0.17.0pypypiunverified

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-pti
INSTALL
IMPORT
SIG · INTEL-PTI
I
intel-pti
devopspythonv0.17.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PTI
import intel_pti
from intel_pti import PTI

Initialize PTI, list sources, and decode a trace file.

from intel_pti import PTI pti = PTI() # List available trace sources print(pti.list_sources()) # Decode a trace file (example) from intel_pti.decode import TraceDecoder decoder = TraceDecoder() decoder.decode('trace.pt')
Debug
Known issues
gotchaIntel PTI requires Intel PT hardware support (e.g., recent Intel CPUs). Running on unsupported hardware will raise or silently fail.
fix
Check CPU support via 'lscpu | grep intel_pt' or CPUID.
affects: all
breakingAPI changed significantly between 0.15.x and 0.17.x; many classes moved to submodules.
fix
Update imports: 'from intel_pti.decode import TraceDecoder' instead of 'from intel_pti import TraceDecoder'.
affects: 0.15.x - 0.17.0
deprecatedDirect instantiation of PTI() without arguments may be deprecated in future; use context manager.
fix
Use 'with PTI() as pti:' pattern.
affects: >=0.17.0
Upgrade
Version history
0.17.0latest on PyPI · released Apr 24, 2026
Audit
Dependencies
numpyrequiredRequired for data structures and array operations.
Agent activity
27 hits · last 30 days
node
24
OpenAI (training)
2
Resources
intel-pti — pip install intel-pti · libregistry