Title: Build Python with frame pointers (-fno-omit-frame-pointer) · Issue #96174 · python/cpython · GitHub
Open Graph Title: Build Python with frame pointers (-fno-omit-frame-pointer) · Issue #96174 · python/cpython
X Title: Build Python with frame pointers (-fno-omit-frame-pointer) · Issue #96174 · python/cpython
Description: Feature or enhancement I propose to build CPython with -fno-omit-frame-pointer and -mno-omit-leaf-frame-pointer on compilers that support these options, at least on Linux with GCC and clang on platforms that support perf trampoline (#961...
Open Graph Description: Feature or enhancement I propose to build CPython with -fno-omit-frame-pointer and -mno-omit-leaf-frame-pointer on compilers that support these options, at least on Linux with GCC and clang on plat...
X Description: Feature or enhancement I propose to build CPython with -fno-omit-frame-pointer and -mno-omit-leaf-frame-pointer on compilers that support these options, at least on Linux with GCC and clang on plat...
Opengraph URL: https://github.com/python/cpython/issues/96174
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build Python with frame pointers (-fno-omit-frame-pointer)","articleBody":"# Feature or enhancement\r\n\r\nI propose to build CPython with `-fno-omit-frame-pointer` and `-mno-omit-leaf-frame-pointer` on compilers that support these options, at least on Linux with GCC and clang on platforms that support perf trampoline (https://github.com/python/cpython/issues/96143).\r\n\r\n# Pitch\r\n\r\nThe feature is needed for https://github.com/python/cpython/issues/96143 \"Allow the linux perf profiler to see Python calls\". Otherwise perf won't be able to reconstruct the call frames and perf report output isn't helpful.\r\n\r\n# Previous discussion\r\n\r\nThe feature change proposal https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer explains the usefulness of frame pointers in great detail. Code without frame pointers can be slightly more efficient because it does not have to safe a register on function call and it can repurpose the register for other uses. The potential performance impact is discussed in the Fedora change proposal, too. tl;dr Fedora testing has not shown any significant impact.\r\n","author":{"url":"https://github.com/tiran","@type":"Person","name":"tiran"},"datePublished":"2022-08-22T14:24:29Z","url":"https://github.com/python/cpython/issues/96174"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5650c1e7-92c5-5efe-9a01-3d70264e362d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B084:37DBEE:2E78C2:404F2C:6AECB7A8 |
| html-safe-nonce | c25fb1a3cbb3cf4e29d567321d6e9f74d3a02ba79ffba57184d9e3e867cc485b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDg0OjM3REJFRToyRTc4QzI6NDA0RjJDOjZBRUNCN0E4IiwidmlzaXRvcl9pZCI6IjI3NTQ2NTU2NzMxMjE1NTIyOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3f1089d8d103e51f241638188ab14e7247a22f06374960483c9e8646af80864b |
| hovercard-subject-tag | issue:1346508160 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/96174/issue_layout |
| twitter:image | https://opengraph.githubassets.com/45fc44db6a5f1870871e4a1090863d19298334e50735fbbde5bdc63910bfbfac/python/cpython/issues/96174 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45fc44db6a5f1870871e4a1090863d19298334e50735fbbde5bdc63910bfbfac/python/cpython/issues/96174 |
| og:image:alt | Feature or enhancement I propose to build CPython with -fno-omit-frame-pointer and -mno-omit-leaf-frame-pointer on compilers that support these options, at least on Linux with GCC and clang on plat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tiran |
| hostname | github.com |
| expected-hostname | github.com |
| None | 95ae5445dec4cded2bc4f9d97ede92b9116c0bf381a08a5c844b60b5bddcbc97 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | db4ef601a7f034ae2a68e17d6eeaeb7ee9470192 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width