cpython/Lib/test/test_profiling
Pablo Galindo Salgado 3efd2f4db6
gh-149296: Add dump subcommand to sampling profiler for one-shot stack snapshots (#149297)
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`).
2026-05-04 01:02:33 +01:00
..
test_sampling_profiler gh-149296: Add dump subcommand to sampling profiler for one-shot stack snapshots (#149297) 2026-05-04 01:02:33 +01:00
__init__.py
__main__.py
test_heatmap.py gh-142927: Fix heatmap caller navigation for interior lines (#143180) 2026-01-01 19:05:59 +00:00
test_tracing_profiler.py gh-145846: Fix memory leak in _lsprof clearEntries() context chain (#145847) 2026-04-07 22:56:19 +02:00