mirror of
https://github.com/python/cpython.git
synced 2026-06-09 19:31:09 +00:00
Adds `python -m profiling.sampling dump <pid>`, which prints a single traceback-style snapshot of a running process's Python stack via the existing `_remote_debugging` unwinder. Supports per-thread status, source line highlighting, optional bytecode opcodes, and async-aware task reconstruction (`--async-aware`, default `--async-mode=all`). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _live_collector_helpers.py | ||
| helpers.py | ||
| mocks.py | ||
| test_advanced.py | ||
| test_async.py | ||
| test_binary_format.py | ||
| test_blocking.py | ||
| test_children.py | ||
| test_cli.py | ||
| test_collectors.py | ||
| test_dump.py | ||
| test_integration.py | ||
| test_live_collector_core.py | ||
| test_live_collector_interaction.py | ||
| test_live_collector_ui.py | ||
| test_modes.py | ||
| test_profiler.py | ||
| test_trend_tracker.py | ||