]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-96143: Allow Linux perf profiler to see Python calls (GH-96123)
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Tue, 30 Aug 2022 17:11:18 +0000 (18:11 +0100)
committerGitHub <noreply@github.com>
Tue, 30 Aug 2022 17:11:18 +0000 (10:11 -0700)
commit6d791a97364b68d5f9c3514a0470aac487fc538d
tree745205d7e8698ea7398eb353311f55dc973507bf
parent0f733fffe8f4caaac3ce1b5306af86b42fb0c7fa
gh-96143: Allow Linux perf profiler to see Python calls (GH-96123)

:warning:  :warning: Note for reviewers, hackers and fellow systems/low-level/compiler engineers :warning: :warning:

If you have a lot of experience with this kind of shenanigans and want to improve the **first** version, **please make a PR against my branch** or **reach out by email** or **suggest code changes directly on GitHub**.

If you have any **refinements or optimizations** please, wait until the first version is merged before starting hacking or proposing those so we can keep this PR productive.
24 files changed:
Doc/c-api/init_config.rst
Doc/howto/index.rst
Doc/howto/perf_profiling.rst [new file with mode: 0644]
Doc/using/cmdline.rst
Include/cpython/initconfig.h
Include/internal/pycore_ceval.h
Lib/test/test_embed.py
Lib/test/test_perf_profiler.py [new file with mode: 0644]
Makefile.pre.in
Misc/NEWS.d/next/Core and Builtins/2022-08-20-18-36-40.gh-issue-96143.nh3GFM.rst [new file with mode: 0644]
Modules/posixmodule.c
Objects/asm_trampoline.S [new file with mode: 0644]
Objects/perf_trampoline.c [new file with mode: 0644]
PCbuild/_freeze_module.vcxproj
PCbuild/_freeze_module.vcxproj.filters
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/clinic/sysmodule.c.h
Python/initconfig.c
Python/pylifecycle.c
Python/sysmodule.c
configure
configure.ac
pyconfig.h.in