You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve the documentation of profiling with "perf maps" #137019
Before #136461, cpython only had support for Linux perf profiling. But with this PR it now supports both Linux and macOS through samply. I updated the documentation to include this, but it's not super great currently because previously it was written with the assumption that it was only supported by Linux perf. So it would be good to restructure this doc in a better way, and add more information related to macOS profiling using samply.
Also samply supports both perf modes so it would be good to clarify when to use them.
Are we likely to get Windows support for 3.15? If so, it would make sense to write in a more general fashion than just POSIX-related operating systems.
I filed #137022 for the Windows implementation. It looks like it's not terribly difficult to do, but it uses a different approach than jitdump/perf maps.
Activity
AA-Turner commentedon Jul 22, 2025
Are we likely to get Windows support for 3.15? If so, it would make sense to write in a more general fashion than just POSIX-related operating systems.
A
canova commentedon Jul 22, 2025
I filed #137022 for the Windows implementation. It looks like it's not terribly difficult to do, but it uses a different approach than jitdump/perf maps.