Compile with no-omit-frame-pointer#1000
Conversation
|
Ah, these flags are automatic in debug builds based on supported architectures. Do we also need to limit them to those specific architectures? ( Debian bug for adding these flags to libc: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767756. |
79acf80 to
599d90a
Compare
This adds support for profiling Python 3.12 and newer using Linux `perf` command. * https://docs.python.org/3.12/howto/perf_profiling.html Co-authored-by: Tianon Gravi <admwiggin@gmail.com>
599d90a to
5b0aadd
Compare
|
@yosifkit looks like I have added a check for that in the latest commit. With i386 support slowly loosing support in Debian 1 2 and 32bit x86 not even being in the CPython supported platforms list 3, it would be interesting to know how may users are still pulling latest i386 Python docker images. |
Changes: - docker-library/python@dbda0feb: Merge pull request docker-library/python#1000 from artizirk/frame-pointers
This adds support for profiling Python 3.12 and newer using Linux
perfcommand.Fixes: #995