]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-135953: Add GIL contention markers to sampling profiler Gecko format (#139485)
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Mon, 17 Nov 2025 12:46:26 +0000 (12:46 +0000)
committerGitHub <noreply@github.com>
Mon, 17 Nov 2025 12:46:26 +0000 (12:46 +0000)
commit89a914c58db1661cb9da4f3b9e52c20bb4b02287
treec30e1933eecd3fcef15235aaa577e3af52cf7abc
parent994ab5c922b179ab1884f05b3440c24db9e9733d
gh-135953: Add GIL contention markers to sampling profiler Gecko format (#139485)

This commit enhances the Gecko format reporter in the sampling profiler
to include markers for GIL acquisition events.
Include/cpython/pystate.h
Include/internal/pycore_debug_offsets.h
Lib/profiling/sampling/collector.py
Lib/profiling/sampling/gecko_collector.py
Lib/profiling/sampling/sample.py
Lib/test/test_external_inspection.py
Lib/test/test_profiling/test_sampling_profiler.py
Modules/_remote_debugging_module.c
Python/ceval_gil.c