This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dormouse759
Recipients Dormouse759, cstratak, jkloth, koobs, mcepl, mi, vstinner
Date 2018-06-15.15:25:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529076331.55.0.947875510639.issue30345@psf.upfronthosting.co.za>
In-reply-to
Content
Those -g switches you see there are during compile-time.
For this to work, you need to enable it also during link/time:
./configure --enable-optimizations --with-lto LDFLAGS="-g"

Except for py-bt, you should also try bt. With this link flag enabled, I can observe significant slowdown on my machine during the backtrace when using bt command (At least when I let the PGO do all the profiling, when compiled with the sed edit you posted here, I observe none).
History
Date User Action Args
2018-06-15 15:25:31Dormouse759setrecipients: + Dormouse759, vstinner, jkloth, mcepl, koobs, cstratak, mi
2018-06-15 15:25:31Dormouse759setmessageid: <1529076331.55.0.947875510639.issue30345@psf.upfronthosting.co.za>
2018-06-15 15:25:31Dormouse759linkissue30345 messages
2018-06-15 15:25:31Dormouse759create