cpython/Lib/profile/__init__.py
László Kiss Kollár 59acdba820
gh-135953: Implement sampling tool under profile.sample (#135998)
Implement a statistical sampling profiler that can profile external
Python processes by PID. Uses the _remote_debugging module and converts
the results to pstats-compatible format for analysis.


Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
2025-07-10 18:44:24 +01:00

6 lines
150 B
Python

from .profile import run
from .profile import runctx
from .profile import Profile
from .profile import _Utils
__all__ = ['run', 'runctx', 'Profile']