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
As I'm using conda most of the time to install different Python versions, it would be very nice to have Python w/ frame pointers directly available as a conda package. Is this maybe already available somewhere, or is this something one can realistically build locally? Would that just be a matter of patching recipe/build_base.sh to include -fno-omit-frame-pointer and -mno-omit-leaf-frame-pointer in the CFLAGS and running build-locally.py? Thanks!
The text was updated successfully, but these errors were encountered:
I also think it would be worth having a build of CPython (and more generally conda-forge) with frame pointers enabled.
[...] is this something one can realistically build locally? Would that just be a matter of patching recipe/build_base.sh to include -fno-omit-frame-pointer and -mno-omit-leaf-frame-pointer in the CFLAGS and running build-locally.py?
Comment:
For profiling Python applications, using the Linux perf support in Python 3.12, it would be very helpful to have a build of Python available which has frame pointers enabled. For some additional context: https://www.brendangregg.com/blog/2024-03-17/the-return-of-the-frame-pointers.html
As I'm using conda most of the time to install different Python versions, it would be very nice to have Python w/ frame pointers directly available as a conda package. Is this maybe already available somewhere, or is this something one can realistically build locally? Would that just be a matter of patching
recipe/build_base.sh
to include-fno-omit-frame-pointer
and-mno-omit-leaf-frame-pointer
in theCFLAGS
and runningbuild-locally.py
? Thanks!The text was updated successfully, but these errors were encountered: