cpython/Lib/profiling/sampling
Pablo Galindo Salgado 70f2ae025f Add opcode utilities and --opcodes CLI flag
New opcode_utils.py maps opcode numbers to names and detects specialized
variants using opcode module metadata. Adds normalize_location() and
extract_lineno() helpers to collector base for uniform location handling.

CLI gains --opcodes flag, validated against compatible formats (gecko,
flamegraph, heatmap, live).
2025-12-03 03:43:10 +00:00
..
_assets gh-71648: Optimize PNG files (GH-138842) 2025-09-12 20:13:05 +00:00
_flamegraph_assets gh-140677 Add heatmap visualization to Tachyon sampling profiler (#140680) 2025-12-02 20:33:40 +00:00
_heatmap_assets gh-140677 Add heatmap visualization to Tachyon sampling profiler (#140680) 2025-12-02 20:33:40 +00:00
_shared_assets gh-140677 Add heatmap visualization to Tachyon sampling profiler (#140680) 2025-12-02 20:33:40 +00:00
_vendor gh-135953: Add flamegraph reporter to sampling profiler (#138715) 2025-09-09 23:06:45 +01:00
live_collector gh-141645: Refactor tachyon's live TUI tests to not use private fields (#141806) 2025-11-21 00:35:37 +00:00
__init__.py gh-140677 Add heatmap visualization to Tachyon sampling profiler (#140680) 2025-12-02 20:33:40 +00:00
__main__.py gh-138122: Refactor the CLI of profiling.sampling into subcommands (#141813) 2025-11-24 11:45:08 +00:00
_css_utils.py gh-140677 Add heatmap visualization to Tachyon sampling profiler (#140680) 2025-12-02 20:33:40 +00:00
_sync_coordinator.py gh-140729: Add __mp_main__ as a duplicate for __main__ for pickle to work (#140735) 2025-11-17 12:43:14 +00:00
cli.py Add opcode utilities and --opcodes CLI flag 2025-12-03 03:43:10 +00:00
collector.py Add opcode utilities and --opcodes CLI flag 2025-12-03 03:43:10 +00:00
constants.py Add opcode utilities and --opcodes CLI flag 2025-12-03 03:43:10 +00:00
gecko_collector.py gh-138122: Refactor the CLI of profiling.sampling into subcommands (#141813) 2025-11-24 11:45:08 +00:00
heatmap_collector.py gh-140677 Add heatmap visualization to Tachyon sampling profiler (#140680) 2025-12-02 20:33:40 +00:00
opcode_utils.py Add opcode utilities and --opcodes CLI flag 2025-12-03 03:43:10 +00:00
pstats_collector.py gh-138122: Refactor the CLI of profiling.sampling into subcommands (#141813) 2025-11-24 11:45:08 +00:00
sample.py Add opcode utilities and --opcodes CLI flag 2025-12-03 03:43:10 +00:00
stack_collector.py gh-140677 Add heatmap visualization to Tachyon sampling profiler (#140680) 2025-12-02 20:33:40 +00:00
string_table.py gh-135953: Reduce memory usage of stack collectors (#138875) 2025-09-14 23:47:14 +01:00